[Scummvm-cvs-logs] SF.net SVN: scummvm:[44020] scummvm/trunk/engines/gob

strangerke at users.sourceforge.net strangerke at users.sourceforge.net
Wed Sep 9 23:47:26 CEST 2009


Revision: 44020
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44020&view=rev
Author:   strangerke
Date:     2009-09-09 21:47:26 +0000 (Wed, 09 Sep 2009)

Log Message:
-----------
Playtoons - Fix searchHotspot and suppress a forgotten debug warning

Modified Paths:
--------------
    scummvm/trunk/engines/gob/hotspots.cpp
    scummvm/trunk/engines/gob/inter_playtoons.cpp

Modified: scummvm/trunk/engines/gob/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/gob/hotspots.cpp	2009-09-09 20:42:44 UTC (rev 44019)
+++ scummvm/trunk/engines/gob/hotspots.cpp	2009-09-09 21:47:26 UTC (rev 44020)
@@ -1567,7 +1567,7 @@
 
 bool Hotspots::searchHotspot(int16 shortId) const {
 	for (int i = 0; i < kHotspotCount; i++) {
-		if (_hotspots[i].isDisabled())
+		if (_hotspots[i].left == -1)
 			return false;
 		if ((_hotspots[i].id == 0xD000 + shortId) || (_hotspots[i].id == 0xB000 + shortId) || (_hotspots[i].id == 0x4000 + shortId))
 			return true;

Modified: scummvm/trunk/engines/gob/inter_playtoons.cpp
===================================================================
--- scummvm/trunk/engines/gob/inter_playtoons.cpp	2009-09-09 20:42:44 UTC (rev 44019)
+++ scummvm/trunk/engines/gob/inter_playtoons.cpp	2009-09-09 21:47:26 UTC (rev 44020)
@@ -169,9 +169,6 @@
 				_vm->_draw->spriteOperation(DRAW_FILLRECT);
 				_vm->_draw->_transparency = 1;
 			}
-
-			warning("print %s", _vm->_draw->_textToPrint);
-
 			_vm->_draw->spriteOperation(DRAW_PRINTTEXT);
 			_vm->_draw->_transparency = oldTransparency;
 			i = 0;


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