From e415a97fe53a3eec537d7d67760af45730ec91fd Mon Sep 17 00:00:00 2001 From: Kari Salminen Date: Mon, 30 Jun 2008 18:15:34 +0000 Subject: Removed TODO from checkCollision: Updating zoneQuery each time checkCollision is called seems to be fine. svn-id: r32852 --- engines/cine/script_fw.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'engines/cine') diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp index f84904ccc5..148e673095 100644 --- a/engines/cine/script_fw.cpp +++ b/engines/cine/script_fw.cpp @@ -1760,12 +1760,6 @@ int16 getZoneFromPositionRaw(byte *page, int16 x, int16 y, int16 width) { 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; -- cgit v1.2.3