[Scummvm-cvs-logs] SF.net SVN: scummvm:[35695] scummvm/trunk/engines/lure/res.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Sat Jan 3 12:35:01 CET 2009
Revision: 35695
http://scummvm.svn.sourceforge.net/scummvm/?rev=35695&view=rev
Author: dreammaster
Date: 2009-01-03 11:35:00 +0000 (Sat, 03 Jan 2009)
Log Message:
-----------
Bugfix for #2480853 - Skorl doesn't follow Minnow into Cellar
Modified Paths:
--------------
scummvm/trunk/engines/lure/res.cpp
Modified: scummvm/trunk/engines/lure/res.cpp
===================================================================
--- scummvm/trunk/engines/lure/res.cpp 2009-01-03 10:44:43 UTC (rev 35694)
+++ scummvm/trunk/engines/lure/res.cpp 2009-01-03 11:35:00 UTC (rev 35695)
@@ -620,6 +620,9 @@
// Special post-load handling
if (res->loadOffset == 3) hotspot->setPersistant(true);
if (res->loadOffset == 5) hotspot->handleTalkDialog();
+ if (hotspotId == CASTLE_SKORL_ID)
+ // The Castle skorl has a default room #99, so it needs to be adjusted dynamically
+ res->npcSchedule.top().setRoomNumber(res->roomNumber);
// TODO: Figure out why there's a room set in the animation decode for a range of characters,
// particularly since it doesn't seem to match what happens in-game
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