[Scummvm-cvs-logs] SF.net SVN: scummvm: [27661] scummvm/trunk/engines/scumm/insane/ insane_enemy.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Jun 23 14:22:27 CEST 2007
Revision: 27661
http://scummvm.svn.sourceforge.net/scummvm/?rev=27661&view=rev
Author: fingolfin
Date: 2007-06-23 05:22:23 -0700 (Sat, 23 Jun 2007)
Log Message:
-----------
cleanup
Modified Paths:
--------------
scummvm/trunk/engines/scumm/insane/insane_enemy.cpp
Modified: scummvm/trunk/engines/scumm/insane/insane_enemy.cpp
===================================================================
--- scummvm/trunk/engines/scumm/insane/insane_enemy.cpp 2007-06-23 12:16:43 UTC (rev 27660)
+++ scummvm/trunk/engines/scumm/insane/insane_enemy.cpp 2007-06-23 12:22:23 UTC (rev 27661)
@@ -230,7 +230,7 @@
_actor[actor1].cursorX = -160;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -375,7 +375,7 @@
_actor[actor1].cursorX = -160;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -524,7 +524,7 @@
_actor[actor1].cursorX = -160;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -681,7 +681,7 @@
_actor[actor1].cursorX = -160;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -851,7 +851,7 @@
_actor[actor1].cursorX = -160;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -995,7 +995,7 @@
_enHdlVar[EN_VULTF2][0]++;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
@@ -1123,7 +1123,7 @@
retval = 2;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[0].act[2].state = 97;
@@ -1213,7 +1213,7 @@
_enHdlVar[EN_CAVEFISH][0] = act1damage;
// Shift+V cheat to win the battle
- if (_vm->getKeyState(0x56) && !_beenCheated &&
+ if (_vm->getKeyState('V') && !_beenCheated &&
!_actor[0].lost && !_actor[1].lost) {
_beenCheated = 1;
_actor[1].damage = _actor[1].maxdamage + 10;
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