[Scummvm-cvs-logs] SF.net SVN: scummvm:[42193] scummvm/branches/gsoc2009-draci/engines/draci/ script.cpp

dkasak13 at users.sourceforge.net dkasak13 at users.sourceforge.net
Mon Jul 6 21:43:21 CEST 2009


Revision: 42193
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42193&view=rev
Author:   dkasak13
Date:     2009-07-06 19:43:21 +0000 (Mon, 06 Jul 2009)

Log Message:
-----------
Removed two variables that were committed by mistake.

Modified Paths:
--------------
    scummvm/branches/gsoc2009-draci/engines/draci/script.cpp

Modified: scummvm/branches/gsoc2009-draci/engines/draci/script.cpp
===================================================================
--- scummvm/branches/gsoc2009-draci/engines/draci/script.cpp	2009-07-06 19:41:13 UTC (rev 42192)
+++ scummvm/branches/gsoc2009-draci/engines/draci/script.cpp	2009-07-06 19:43:21 UTC (rev 42193)
@@ -235,10 +235,7 @@
 
 	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);
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list