diff options
author | Travis Howell | 2004-08-07 09:18:41 +0000 |
---|---|---|
committer | Travis Howell | 2004-08-07 09:18:41 +0000 |
commit | 11329c0e932109e5da82f64d751b37ffc63bc0f2 (patch) | |
tree | 2737be88fc3baba4c77d445f9c22b6c12238812d /scumm | |
parent | cb8b522bdca526e85321884a0e36bc299a419f6d (diff) | |
download | scummvm-rg350-11329c0e932109e5da82f64d751b37ffc63bc0f2.tar.gz scummvm-rg350-11329c0e932109e5da82f64d751b37ffc63bc0f2.tar.bz2 scummvm-rg350-11329c0e932109e5da82f64d751b37ffc63bc0f2.zip |
Always clear weapons in INSANE of PC FT demo
svn-id: r14499
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/insane/insane.cpp | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp index c843461f4e..166f94d3cb 100644 --- a/scumm/insane/insane.cpp +++ b/scumm/insane/insane.cpp @@ -385,10 +385,7 @@ void Insane::initvars(void) { _actor[0].inventory[INV_MACE] = 0; _actor[0].inventory[INV_2X4] = 0; _actor[0].inventory[INV_WRENCH] = 1; - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) - _actor[0].inventory[INV_BOOT] = 0; - else - _actor[0].inventory[INV_BOOT] = 1; + _actor[0].inventory[INV_BOOT] = 1; _actor[0].inventory[INV_HAND] = 1; _actor[0].inventory[INV_DUST] = 0; _actor[0].probability = 5; @@ -632,7 +629,17 @@ void Insane::putActors(void) { void Insane::readState(void) { // PATCH - if (!((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))) { + if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) { + _actor[0].inventory[INV_CHAIN] = 0; + _actor[0].inventory[INV_CHAINSAW] = 0; + _actor[0].inventory[INV_MACE] = 0; + _actor[0].inventory[INV_2X4] = 0; + _actor[0].inventory[INV_WRENCH] = 1; + _actor[0].inventory[INV_DUST] = 0; + _actor[0].inventory[INV_HAND] = 1; + _actor[0].inventory[INV_BOOT] = 0; + _smlayer_room2 = 13; + } else { _actor[0].inventory[INV_CHAIN] = readArray(50) != 0; _actor[0].inventory[INV_CHAINSAW] = readArray(51) != 0; _actor[0].inventory[INV_MACE] = readArray(52) != 0; @@ -662,8 +669,6 @@ void Insane::readState(void) { // PATCH _enemy[EN_CAVEFISH].occurences = readArray(336); _enemy[EN_VULTM2].field_10 = readArray(340); _enemy[EN_VULTF2].field_10 = readArray(339); - } else { - _smlayer_room2 = 13; } } |