diff options
author | Paul Gilbert | 2007-04-01 11:48:54 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-04-01 11:48:54 +0000 |
commit | 5a313074bc304940699b15ea8d61d00535a3a732 (patch) | |
tree | db653b348a1508e9d3b41baf3a35e5ea85378453 /engines/lure | |
parent | 3abdfa46f99b94b3b15294ff5fc9f4e671398230 (diff) | |
download | scummvm-rg350-5a313074bc304940699b15ea8d61d00535a3a732.tar.gz scummvm-rg350-5a313074bc304940699b15ea8d61d00535a3a732.tar.bz2 scummvm-rg350-5a313074bc304940699b15ea8d61d00535a3a732.zip |
Bugfix to correctly remove an item from a character's inventory when it is deactivated
svn-id: r26338
Diffstat (limited to 'engines/lure')
-rw-r--r-- | engines/lure/scripts.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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; |