aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/script/police_maze.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2018-03-24 12:42:23 +0100
committerEugene Sandulenko2018-03-24 12:42:23 +0100
commitcb076448770a3e4a41405b5eac1d1dd1714cb5c8 (patch)
tree96dd6058703e96b2e07419e5a941fce1755055cd /engines/bladerunner/script/police_maze.cpp
parent94e2d513280e613ff7ec551ca7946696888254a1 (diff)
downloadscummvm-rg350-cb076448770a3e4a41405b5eac1d1dd1714cb5c8.tar.gz
scummvm-rg350-cb076448770a3e4a41405b5eac1d1dd1714cb5c8.tar.bz2
scummvm-rg350-cb076448770a3e4a41405b5eac1d1dd1714cb5c8.zip
BLADERUNNER: Fix PoliceMaze track
Diffstat (limited to 'engines/bladerunner/script/police_maze.cpp')
-rw-r--r--engines/bladerunner/script/police_maze.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/bladerunner/script/police_maze.cpp b/engines/bladerunner/script/police_maze.cpp
index 78c8076d83..f9beec0751 100644
--- a/engines/bladerunner/script/police_maze.cpp
+++ b/engines/bladerunner/script/police_maze.cpp
@@ -73,6 +73,7 @@ void PoliceMaze::activate() {
}
void PoliceMaze::setPauseState(bool state) {
+ warning("PAUSE: %d", state);
_isPaused = state;
uint32 t = _vm->getTotalPlayTime();
@@ -205,7 +206,7 @@ bool PoliceMazeTargetTrack::tick() {
_waitTime = 0;
}
- if (_vm->_items->isTarget(_itemId))
+ if (_vm->_items->isSpinning(_itemId))
return true;
if (_rotating) {