From 3b75b8003d74f5587d3434d642b05c61a4227fed Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Mon, 6 Jul 2009 19:43:21 +0000 Subject: Removed two variables that were committed by mistake. svn-id: r42193 --- engines/draci/script.cpp | 5 +---- 1 file changed, 1 insertion(+), 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 ¶ms) { 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); } -- cgit v1.2.3