mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-22 01:57:16 +00:00
Hack out 'Wait for actor drawn' for The Dig. See IRC logs for more
details :) svn-id: r5165
This commit is contained in:
parent
4f3a2f774c
commit
1c65e2ffc0
@ -2379,6 +2379,15 @@ void Scumm::o6_wait()
|
||||
case 226:{ /* wait until actor drawn */
|
||||
Actor *a = derefActorSafe(pop(), "o6_wait:226");
|
||||
int offs = (int16)fetchScriptWord();
|
||||
|
||||
return; // FIXME
|
||||
// This wait command doesn't return at the
|
||||
// correct times, which causes several script freezes
|
||||
// in The Dig. Eg, planetarium lightbridge,
|
||||
// and taking the rod in the museum AFTER looking at
|
||||
// all the displays. Why? Is our code too optimised
|
||||
// vs. the original?
|
||||
|
||||
if (a && a->isInCurrentRoom() && a->needRedraw) {
|
||||
_scriptPointer += offs;
|
||||
o6_breakHere();
|
||||
|
Loading…
x
Reference in New Issue
Block a user