SCI: SQ4 CD crash when robot shoots Roger
|Reported by:||misterhands||Owned by:||m-kiewitz|
|Game:||Space Quest 4|
Using latest win32 build, SQ4 CD DOS
To reproduce this crash: From the start screen go right, then near the rope. When the zombie appears and approaches pick the rope. Then when the robot comes and is about to shoot Roger, the engine stops with this error :
lookupSelector(): Attempt to send to non-object or invalid script. Address was 0000:0000!
This crash also occurs with SCUMMVM 1.4.1 and regardless of the Speech+Text setting.
The zombie and robot behave differently in the original interpreter, but I managed to replicate the bug under DOSBox. The message given there is : "Oops, you did something we weren't expecting. Whatever it was, you don't need to do it to complete the game. Try taking a different approach to the situation. Error 4. SCI Version 1.001.064"
It looks like what is causing this is the fact that Roger is still in his pick_an_object animation when the death_by_robot animation is supposed to happen.
Ticket imported from: #3539400. Ticket imported from: bugs/6076.