[Scummvm-cvs-logs] SF.net SVN: scummvm: [30515] scummvm/trunk/engines/lure/scripts.cpp
dreammaster at users.sourceforge.net
dreammaster at users.sourceforge.net
Wed Jan 16 11:06:19 CET 2008
Revision: 30515
http://scummvm.svn.sourceforge.net/scummvm/?rev=30515&view=rev
Author: dreammaster
Date: 2008-01-16 02:06:19 -0800 (Wed, 16 Jan 2008)
Log Message:
-----------
Added code fragment to correctly set the walk to position for Goewin (for interacting with her) both when she's in the Apothecary and when she's out walking
Modified Paths:
--------------
scummvm/trunk/engines/lure/scripts.cpp
Modified: scummvm/trunk/engines/lure/scripts.cpp
===================================================================
--- scummvm/trunk/engines/lure/scripts.cpp 2008-01-16 10:03:30 UTC (rev 30514)
+++ scummvm/trunk/engines/lure/scripts.cpp 2008-01-16 10:06:19 UTC (rev 30515)
@@ -603,6 +603,10 @@
goewin->setHotspotScript(0x616);
goewin->setDelayCtr(1500);
goewin->setTickProc(GOEWIN_SHOP_TICK_PROC);
+
+ // Set walk to position for Goewin whilst she's working
+ goewin->resource()->walkX = 179;
+ goewin->resource()->walkY = 138;
}
// Sets a character moving to the player's room (if they're not already there)
@@ -700,6 +704,10 @@
hotspot->setCharacterMode(CHARMODE_NONE);
hotspot->setDirection(UP);
hotspot->setTickProc(STANDARD_CHARACTER_TICK_PROC);
+
+ // Clear walk to position for Goewin so player must walk up to her when interacting
+ hotspot->resource()->walkX = 0;
+ hotspot->resource()->walkY = 0;
}
// Flags the player as dead
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