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

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Sat Jan 12 07:34:11 CET 2008


Revision: 30435
          http://scummvm.svn.sourceforge.net/scummvm/?rev=30435&view=rev
Author:   dreammaster
Date:     2008-01-11 22:34:11 -0800 (Fri, 11 Jan 2008)

Log Message:
-----------
Bugfix for actors getting stuck (losing their schedule)

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

Modified: scummvm/trunk/engines/lure/hotspots.cpp
===================================================================
--- scummvm/trunk/engines/lure/hotspots.cpp	2008-01-12 02:34:51 UTC (rev 30434)
+++ scummvm/trunk/engines/lure/hotspots.cpp	2008-01-12 06:34:11 UTC (rev 30435)
@@ -3960,7 +3960,7 @@
 			}
 			h.currentActions().top().setRoomNumber(h.roomNumber());
 
-		} else if (h.blockedOffset() != 0) {
+		} else if ((h.blockedOffset() != 0) && (h.blockedOffset() != 0xffff)) {
 			// Only current action on stack - and there is a block handler 
 			CharacterScheduleEntry *entry = res.charSchedules().getEntry(h.blockedOffset());
 			h.currentActions().top().setSupportData(entry);


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