[Scummvm-cvs-logs] SF.net SVN: scummvm: [23824] scummvm/trunk/engines/lure/room.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sun Sep 3 07:03:58 CEST 2006


Revision: 23824
          http://svn.sourceforge.net/scummvm/?rev=23824&view=rev
Author:   dreammaster
Date:     2006-09-02 22:03:50 -0700 (Sat, 02 Sep 2006)

Log Message:
-----------
Changed name of HOTSPOTFLAG_HIGHLIGHTED to HOTSPOTFLAG_FOUND to make it's use clearer

Modified Paths:
--------------
    scummvm/trunk/engines/lure/room.cpp

Modified: scummvm/trunk/engines/lure/room.cpp
===================================================================
--- scummvm/trunk/engines/lure/room.cpp	2006-09-03 05:03:14 UTC (rev 23823)
+++ scummvm/trunk/engines/lure/room.cpp	2006-09-03 05:03:50 UTC (rev 23824)
@@ -166,7 +166,7 @@
 
 			bool skipFlag = (entry->roomNumber != _roomNumber);
 			if (!skipFlag) {
-				skipFlag = (((entry->flags & HOTSPOTFLAG_HIGHLIGHTED) == 0) && 
+				skipFlag = (((entry->flags & HOTSPOTFLAG_FOUND) == 0) && 
 							((entry->flags & HOTSPOTFLAG_SKIP) != 0)) ||
 						    ((entry->flags & HOTSPOTFLAG_20) != 0);
 			}
@@ -218,7 +218,7 @@
 		_hotspot = entry;
 		_hotspotId = entry->hotspotId;
 		_isExit = false;
-		entry->flags |= HOTSPOTFLAG_HIGHLIGHTED;
+		entry->flags |= HOTSPOTFLAG_FOUND;
 	}
 }
 


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