aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/phantom
diff options
context:
space:
mode:
authorPaul Gilbert2016-01-07 18:11:24 +1100
committerPaul Gilbert2016-01-07 18:11:24 +1100
commitcf5856492c6ce1820339dd76f9d3175f9f457215 (patch)
tree01fa705a0eaca65dd9f4e1bc9f0582c5c1afc365 /engines/mads/phantom
parenta330d993ae6b216b223d1acada2652ed23286490 (diff)
downloadscummvm-rg350-cf5856492c6ce1820339dd76f9d3175f9f457215.tar.gz
scummvm-rg350-cf5856492c6ce1820339dd76f9d3175f9f457215.tar.bz2
scummvm-rg350-cf5856492c6ce1820339dd76f9d3175f9f457215.zip
MADS: Phantom: Flesh out walk triggers
Diffstat (limited to 'engines/mads/phantom')
-rw-r--r--engines/mads/phantom/game_phantom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/phantom/game_phantom.cpp b/engines/mads/phantom/game_phantom.cpp
index 27849cce1e..3ec3052ad5 100644
--- a/engines/mads/phantom/game_phantom.cpp
+++ b/engines/mads/phantom/game_phantom.cpp
@@ -747,7 +747,7 @@ void GamePhantom::step() {
&& (_player._stepEnabled || (_vm->_gameConv->_running >= 0))
&& !_player._moving && (_player._facing == _player._turnToFacing)
&& (_scene._frameStartTime >= (uint32)_globals[kWalkerTiming])) {
- if (!_player._stopWalkerIndex)
+ if (_player._stopWalkers.empty())
stopWalker();
_globals[kWalkerTiming] += 6;