[Scummvm-cvs-logs] SF.net SVN: scummvm:[54973] scummvm/trunk/engines/mohawk/myst_stacks/myst. cpp
bgk at users.sourceforge.net
bgk at users.sourceforge.net
Mon Dec 20 08:58:46 CET 2010
Revision: 54973
http://scummvm.svn.sourceforge.net/scummvm/?rev=54973&view=rev
Author: bgk
Date: 2010-12-20 07:58:45 +0000 (Mon, 20 Dec 2010)
Log Message:
-----------
MOHAWK: Fix 2 crashers with the Myst imager (selecting 00 and playing the moutain video).
Modified Paths:
--------------
scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
Modified: scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp 2010-12-20 04:29:53 UTC (rev 54972)
+++ scummvm/trunk/engines/mohawk/myst_stacks/myst.cpp 2010-12-20 07:58:45 UTC (rev 54973)
@@ -392,7 +392,7 @@
else
return 9;
case 36: // Dock Forechamber Imager Control Right Digit
- return (myst.imagerSelection - 1) % 10;
+ return (10 + myst.imagerSelection - 1) % 10;
case 37: // Clock Tower Control Wheels Position
return 3 * ((myst.clockTowerMinutePosition / 5) % 3) + myst.clockTowerHourPosition % 3;
case 40: // Gears Open State
@@ -1139,6 +1139,7 @@
myst.imagerActive = 1;
}
+ break;
case 2: // Water
if (myst.imagerActive) {
_vm->_sound->replaceSound(argv[1]);
@@ -1154,6 +1155,7 @@
myst.imagerActive = 1;
}
+ break;
}
_vm->_cursor->showCursor();
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