aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/draci/script.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/draci/script.cpp b/engines/draci/script.cpp
index 330fc85d0a..d0fad493fe 100644
--- a/engines/draci/script.cpp
+++ b/engines/draci/script.cpp
@@ -235,10 +235,7 @@ void Script::start(Common::Queue<int> &params) {
GameObject *obj = _vm->_game->getObject(objID);
- int visiblethingy = obj->_visible ? 1 << 7 : 0x00;
- int thingy = (obj->_location + 1) | visiblethingy;
-
- if ( ((objID == 0) || (obj->_visible)) && (obj->_location == _vm->_game->_currentRoom._roomNum))
+ if ( ((objID == 0) || (obj->_visible)) && (obj->_location == _vm->_game->getRoomNum()))
_vm->_anims->play(animID);
}