diff options
author | Paul Gilbert | 2008-01-16 10:06:19 +0000 |
---|---|---|
committer | Paul Gilbert | 2008-01-16 10:06:19 +0000 |
commit | 019624e3c1a9ebc83e5f7e81ca2abb98228acaa2 (patch) | |
tree | 4030d6a9015bd6df41b96074a7e848072fe8efa0 /engines/lure | |
parent | a7a46b86a5db6756a5db39b1caa38b29e23448ec (diff) | |
download | scummvm-rg350-019624e3c1a9ebc83e5f7e81ca2abb98228acaa2.tar.gz scummvm-rg350-019624e3c1a9ebc83e5f7e81ca2abb98228acaa2.tar.bz2 scummvm-rg350-019624e3c1a9ebc83e5f7e81ca2abb98228acaa2.zip |
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
svn-id: r30515
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/scripts.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index 173330cfe9..84d1ce4169 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -603,6 +603,10 @@ void Script::makeGoewinWork(uint16 v1, uint16 v2, uint16 v3) { 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 @@ void Script::normalGoewin(uint16 v1, uint16 v2, uint16 v3) { 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 |