diff options
author | Eugene Sandulenko | 2018-03-23 22:02:49 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2018-03-24 02:45:26 +0100 |
commit | da2c7142ce2513b8464c30ed4872eeff69987d6e (patch) | |
tree | aef5fa185fadbe8a7cdb33f0559912516c4fe269 /engines/bladerunner/script | |
parent | a284213aa0d54dda9677aac4f1d6946ddd4b3a3b (diff) | |
download | scummvm-rg350-da2c7142ce2513b8464c30ed4872eeff69987d6e.tar.gz scummvm-rg350-da2c7142ce2513b8464c30ed4872eeff69987d6e.tar.bz2 scummvm-rg350-da2c7142ce2513b8464c30ed4872eeff69987d6e.zip |
BLADERUNNER: Implement Item_Spin_In_World()
Diffstat (limited to 'engines/bladerunner/script')
-rw-r--r-- | engines/bladerunner/script/script.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/bladerunner/script/script.cpp b/engines/bladerunner/script/script.cpp index f4818b1e0f..26e87cb497 100644 --- a/engines/bladerunner/script/script.cpp +++ b/engines/bladerunner/script/script.cpp @@ -681,7 +681,12 @@ void ScriptBase::Item_Remove_From_World(int itemId) { } void ScriptBase::Item_Spin_In_World(int itemId) { - warning("Item_Spin_In_World(%d)", itemId); + _vm->_items->spinInWorld(itemId); + if (_vm->_items->isPoliceMazeEnemy(itemId)) { + Police_Maze_Increment_Score(1); + } else { + Police_Maze_Decrement_Score(1); + } } void ScriptBase::Item_Flag_As_Target(int itemId) { |