[Scummvm-cvs-logs] SF.net SVN: scummvm: [32852] scummvm/trunk/engines/cine/script_fw.cpp

buddha_ at users.sourceforge.net buddha_ at users.sourceforge.net
Mon Jun 30 20:15:34 CEST 2008


Revision: 32852
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32852&view=rev
Author:   buddha_
Date:     2008-06-30 11:15:34 -0700 (Mon, 30 Jun 2008)

Log Message:
-----------
Removed TODO from checkCollision: Updating zoneQuery each time checkCollision is called seems to be fine.

Modified Paths:
--------------
    scummvm/trunk/engines/cine/script_fw.cpp

Modified: scummvm/trunk/engines/cine/script_fw.cpp
===================================================================
--- scummvm/trunk/engines/cine/script_fw.cpp	2008-06-30 17:44:21 UTC (rev 32851)
+++ scummvm/trunk/engines/cine/script_fw.cpp	2008-06-30 18:15:34 UTC (rev 32852)
@@ -1760,12 +1760,6 @@
 	return zoneVar;
 }
 
-/*!
- * \todo Check whether updating the zoneQuery table is appropriate every time
- *       this function is called because this function is called also from elsewhere
- *       than simply o1_checkCollision (e.g. from addAni). In Operation Stealth's
- *       disassembly this probably isn't the case, so there may be weird side-effects.
- */
 int16 checkCollision(int16 objIdx, int16 x, int16 y, int16 numZones, int16 zoneIdx) {
 	int16 lx = objectTable[objIdx].x + x;
 	int16 ly = objectTable[objIdx].y + y;


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