From cf5856492c6ce1820339dd76f9d3175f9f457215 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 7 Jan 2016 18:11:24 +1100 Subject: MADS: Phantom: Flesh out walk triggers --- engines/mads/phantom/game_phantom.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/phantom/game_phantom.cpp') 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; -- cgit v1.2.3