diff options
Diffstat (limited to 'scumm/insane/insane.cpp')
-rw-r--r-- | scumm/insane/insane.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/insane/insane.cpp b/scumm/insane/insane.cpp index 80ea65f2aa..041cfd0181 100644 --- a/scumm/insane/insane.cpp +++ b/scumm/insane/insane.cpp @@ -54,7 +54,7 @@ Insane::Insane(ScummEngine_v6 *scumm) { initvars(); - if (!((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))) { + if (!((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC))) { readFileToMem("roadrash.rip", &_smush_roadrashRip); readFileToMem("roadrsh2.rip", &_smush_roadrsh2Rip); readFileToMem("roadrsh3.rip", &_smush_roadrsh3Rip); @@ -178,7 +178,7 @@ void Insane::initvars(void) { _iactBits[i] = 0; - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) { + if ((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) { init_enemyStruct(EN_ROTT1, EN_ROTT1, 0, 0, 160, 0, INV_MACE, 63, "endcrshr.san", 25, 15, 16, 26, 11, 3); } else { @@ -633,7 +633,7 @@ void Insane::putActors(void) { void Insane::readState(void) { // PATCH - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) { + if ((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) { _actor[0].inventory[INV_CHAIN] = 0; _actor[0].inventory[INV_CHAINSAW] = 0; _actor[0].inventory[INV_MACE] = 0; @@ -795,7 +795,7 @@ void Insane::prepareScenePropScene(int32 scenePropNum, bool arg_4, bool arg_8) { debugC(DEBUG_INSANE, "Insane::prepareScenePropScene(%d, %d, %d)", scenePropNum, arg_4, arg_8); - if (((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) || !loadScenePropSounds(idx)) + if (((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) || !loadScenePropSounds(idx)) return; _actor[0].defunct = arg_4; @@ -892,7 +892,7 @@ int32 Insane::weaponDamage(int32 actornum) { } void Insane::reinitActors(void) { - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) { + if ((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) { smlayer_setActorCostume(0, 2, readArray(11)); smlayer_setActorCostume(0, 0, readArray(13)); smlayer_setActorCostume(0, 1, readArray(12)); @@ -1174,7 +1174,7 @@ void Insane::smlayer_setActorLayer(int actornum, int actnum, int layer) { } void Insane::smlayer_setFluPalette(byte *pal, int shut_flag) { - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) + if ((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) return; // if (shut_flag) @@ -1290,7 +1290,7 @@ void Insane::procSKIP(Chunk &b) { int16 par1, par2; _player->_skipNext = false; - if ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) { + if ((_vm->_features & GF_DEMO) && (_vm->_platform == Common::kPlatformPC)) { _player->checkBlock(b, TYPE_SKIP, 2); par1 = b.getWord(); if (isBitSet(par1)) |