482 | | event.type = kEvTOneshot; |
483 | | event.code = kScriptEvent; |
484 | | event.op = kEventExecNonBlocking; |
485 | | event.time = 0; |
486 | | event.param = scriptModuleNumber; |
487 | | event.param2 = scriptEntrypointNumber; |
488 | | event.param3 = _pendingVerb; // Action |
489 | | event.param4 = _pendingObject[0]; // Object |
490 | | event.param5 = _pendingObject[1]; // With Object |
491 | | event.param6 = (objectType == kGameObjectActor) ? _pendingObject[0] : ID_PROTAG; // Actor |
| 482 | // Fixes bug #1690045 |
| 483 | if (!(_vm->_scene->currentSceneNumber() == 278 && (_pendingObject[0] == 16419 || _pendingObject[1] == 16419))) { |
| 484 | event.type = kEvTOneshot; |
| 485 | event.code = kScriptEvent; |
| 486 | event.op = kEventExecNonBlocking; |
| 487 | event.time = 0; |
| 488 | event.param = scriptModuleNumber; |
| 489 | event.param2 = scriptEntrypointNumber; |
| 490 | event.param3 = _pendingVerb; // Action |
| 491 | event.param4 = _pendingObject[0]; // Object |
| 492 | event.param5 = _pendingObject[1]; // With Object |
| 493 | event.param6 = (objectType == kGameObjectActor) ? _pendingObject[0] : ID_PROTAG; // Actor |