aboutsummaryrefslogtreecommitdiff
path: root/scumm/insane
diff options
context:
space:
mode:
authorTravis Howell2004-08-07 08:31:56 +0000
committerTravis Howell2004-08-07 08:31:56 +0000
commitcb8b522bdca526e85321884a0e36bc299a419f6d (patch)
tree9bdddac9028201c9dcdc079520fa37440bdb91f0 /scumm/insane
parent078e195d0fb73eaff3d57ef906b1afcf0f518384 (diff)
downloadscummvm-rg350-cb8b522bdca526e85321884a0e36bc299a419f6d.tar.gz
scummvm-rg350-cb8b522bdca526e85321884a0e36bc299a419f6d.tar.bz2
scummvm-rg350-cb8b522bdca526e85321884a0e36bc299a419f6d.zip
Correction my earlier mistake
svn-id: r14498
Diffstat (limited to 'scumm/insane')
-rw-r--r--scumm/insane/insane_ben.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/scumm/insane/insane_ben.cpp b/scumm/insane/insane_ben.cpp
index 73915916ca..8d29118e4d 100644
--- a/scumm/insane/insane_ben.cpp
+++ b/scumm/insane/insane_ben.cpp
@@ -1942,13 +1942,12 @@ void Insane::switchBenWeapon(void) {
case INV_BOOT:
case INV_HAND:
case INV_DUST:
- if (!((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))) {
- smlayer_setActorCostume(0, 2, readArray(12));
- _actor[0].weaponClass = 2;
- _actor[0].act[2].state = 1;
- } else {
+ if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))
smlayer_setActorCostume(0, 2, readArray(11));
- }
+ else
+ smlayer_setActorCostume(0, 2, readArray(12));
+ _actor[0].weaponClass = 2;
+ _actor[0].act[2].state = 1;
break;
default:
break;