From 5a313074bc304940699b15ea8d61d00535a3a732 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 1 Apr 2007 11:48:54 +0000 Subject: Bugfix to correctly remove an item from a character's inventory when it is deactivated svn-id: r26338 --- engines/lure/scripts.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/lure/scripts.cpp') diff --git a/engines/lure/scripts.cpp b/engines/lure/scripts.cpp index 47e2291890..75c02767d8 100644 --- a/engines/lure/scripts.cpp +++ b/engines/lure/scripts.cpp @@ -112,6 +112,7 @@ void Script::deactivateHotspot(uint16 hotspotId, uint16 v2, uint16 v3) { if (hotspotId < START_NONVISUAL_HOTSPOT_ID) rsc.deactivateHotspot(hotspotId); HotspotData *hs = rsc.getHotspot(hotspotId); + hs->roomNumber = 0xffff; hs->flags |= 0x20; if (hotspotId < START_NONVISUAL_HOTSPOT_ID) hs->layer = 0xff; -- cgit v1.2.3