aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Kasak2009-07-06 19:43:21 +0000
committerDenis Kasak2009-07-06 19:43:21 +0000
commit3b75b8003d74f5587d3434d642b05c61a4227fed (patch)
treed2539520850e7cb28c2950d9354825a5c717012c
parent61fa4d27d5cbeb6029b07596d2db2af381567e83 (diff)
downloadscummvm-rg350-3b75b8003d74f5587d3434d642b05c61a4227fed.tar.gz
scummvm-rg350-3b75b8003d74f5587d3434d642b05c61a4227fed.tar.bz2
scummvm-rg350-3b75b8003d74f5587d3434d642b05c61a4227fed.zip
Removed two variables that were committed by mistake.
svn-id: r42193
-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);
}