mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
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
This commit is contained in:
parent
30e360f5c5
commit
e27ef211f8
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user