diff options
author | Paul Gilbert | 2010-01-09 09:27:40 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-01-09 09:27:40 +0000 |
commit | e27ef211f80d48d79be29e8d5fe3409472b3697d (patch) | |
tree | 22a82ec5b32769ec440fb5303439caca6b02bbb6 | |
parent | 30e360f5c519cd006f20ece0388be0206dd66701 (diff) | |
download | scummvm-rg350-e27ef211f80d48d79be29e8d5fe3409472b3697d.tar.gz scummvm-rg350-e27ef211f80d48d79be29e8d5fe3409472b3697d.tar.bz2 scummvm-rg350-e27ef211f80d48d79be29e8d5fe3409472b3697d.zip |
Fix for a rare case where the NPC handler for Ewan the shopkeeper can cause an assert when you rejoin Goewin in the Weregate caves.
svn-id: r47197
-rw-r--r-- | engines/lure/hotspots.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp index 0837f970f2..a47a157eb4 100644 --- a/engines/lure/hotspots.cpp +++ b/engines/lure/hotspots.cpp @@ -3810,6 +3810,7 @@ void HotspotTickHandlers::barmanAnimHandler(Hotspot &h) { HotspotData *wayne = res.getHotspot(WAYNE_ID); if ((player->roomNumber != 35) && (gwyn->roomNumber != 35) && (wayne->roomNumber != 35)) { + h.setAnimationIndex(EWAN_ANIM_INDEX); if (rnd.getRandomNumber(1) == 1) id = BG_EXTRA1 << 8; else { |