[Scummvm-cvs-logs] CVS: scummvm/scumm/smush insane.cpp,1.6,1.7
Eugene Sandulenko
sev at users.sourceforge.net
Mon Dec 8 21:10:01 CET 2003
Update of /cvsroot/scummvm/scummvm/scumm/smush
In directory sc8-pr-cvs1:/tmp/cvs-serv16299
Modified Files:
insane.cpp
Log Message:
Fixed bug with Ben's animation disappearing at max horizontal speed.
Index: insane.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/insane.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- insane.cpp 9 Dec 2003 04:08:31 -0000 1.6
+++ insane.cpp 9 Dec 2003 05:09:48 -0000 1.7
@@ -1489,9 +1489,6 @@
_actor[0].inventory[INV_HAND] = 1; // Boot
_actor[0].inventory[INV_BOOT] = 1; // Hand
- for (int i = 0; i < 7; i++) // PATCH
- _actor[0].inventory[i] = 1;
-
_smlayer_room = readArray(_numberArray, 320);
_smlayer_room2 = readArray(_numberArray, 321);
_val55d = readArray(_numberArray, 322);
@@ -2920,7 +2917,7 @@
if (_currEnemy == EN_TORQUE)
buttons = 0;
}
- debug(0, "00:%d 01:%d 02:%d 03:%d", _actor[0].act[0].state,
+ debug(1, "00:%d 01:%d 02:%d 03:%d", _actor[0].act[0].state,
_actor[0].act[1].state, _actor[0].act[2].state, _actor[0].act[3].state);
actor01Reaction(buttons);
actor02Reaction(buttons);
@@ -4911,7 +4908,7 @@
}
int Insane::speedTranslator(int value) {
- const int a[6] = {-5, -4, -2, 2, 4, 5};
+ const int a[7] = {-5, -4, -2, 0, 2, 4, 5};
if (value+3 > 6)
return 0;
More information about the Scummvm-git-logs
mailing list