[Scummvm-cvs-logs] SF.net SVN: scummvm: [24116] scummvm/trunk/engines/scumm/script_v5.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Oct 4 22:22:50 CEST 2006
Revision: 24116
http://svn.sourceforge.net/scummvm/?rev=24116&view=rev
Author: fingolfin
Date: 2006-10-04 13:22:47 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
WORKAROUND bug #859513 (ZAK: "Oxygene-bug" on Mars)
Modified Paths:
--------------
scummvm/trunk/engines/scumm/script_v5.cpp
Modified: scummvm/trunk/engines/scumm/script_v5.cpp
===================================================================
--- scummvm/trunk/engines/scumm/script_v5.cpp 2006-10-04 20:22:14 UTC (rev 24115)
+++ scummvm/trunk/engines/scumm/script_v5.cpp 2006-10-04 20:22:47 UTC (rev 24116)
@@ -587,6 +587,18 @@
return;
}
+ // WORKAROUND bug #859513: While on mars, going outside without your helmet
+ // (or missing some other part of your "space suite" will cause your
+ // character to complain ("I can't breathe."). Unfortunately, this is
+ // coupled with an animate command, making it very difficult to return to
+ // safety (from where you came). The following hack works around this by
+ // ignoring that particular turn command.
+ if (_game.id == GID_ZAK && _currentRoom == 182 && anim == 246 &&
+ ((_game.version < 3 && vm.slot[_currentScript].number == 82)
+ || (_game.version == 3 && vm.slot[_currentScript].number == 131))) {
+ return;
+ }
+
Actor *a = derefActor(act, "o5_animateActor");
a->animateActor(anim);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list