Better method, shouldn't be used in PC FT demo.

svn-id: r14527
This commit is contained in:
Travis Howell 2004-08-09 03:21:51 +00:00
parent 599f9382d7
commit a6e1eb9c95
2 changed files with 4 additions and 6 deletions

View File

@ -808,10 +808,8 @@ 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))) {
if (!loadScenePropSounds(idx))
if (((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC)) || !loadScenePropSounds(idx))
return;
}
_actor[0].defunct = arg_4;
_actor[1].defunct = arg_8;

View File

@ -2643,9 +2643,7 @@ void Insane::actor13Reaction(int32 buttons) {
_actor[1].act[3].state = 70;
break;
case 70:
if (!_actor[1].scenePropSubIdx || ((_vm->_features & GF_DEMO) && (_vm->_features & GF_PC))) {
_actor[1].act[3].state = 118;
} else {
if (_actor[1].scenePropSubIdx) {
smlayer_setActorFacing(1, 3, 4, 180);
tmp = _currScenePropIdx + _actor[1].scenePropSubIdx;
if (!smlayer_startVoice(_sceneProp[tmp].sound))
@ -2653,6 +2651,8 @@ void Insane::actor13Reaction(int32 buttons) {
else
_actor[1].runningSound = _sceneProp[tmp].sound;
_actor[1].act[3].state = 72;
} else {
_actor[1].act[3].state = 118;
}
break;
case 71: