aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/hotspot.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-07-23 09:49:40 +0000
committerPaul Gilbert2010-07-23 09:49:40 +0000
commit42851e047f9c8bef8d20a1854ff50dfd11a41741 (patch)
treeb6e1fcd36b2f63d160324978eb47833131d88245 /engines/m4/hotspot.cpp
parent05999d1e5907747a39d3f3e4b73bac1929031600 (diff)
downloadscummvm-rg350-42851e047f9c8bef8d20a1854ff50dfd11a41741.tar.gz
scummvm-rg350-42851e047f9c8bef8d20a1854ff50dfd11a41741.tar.bz2
scummvm-rg350-42851e047f9c8bef8d20a1854ff50dfd11a41741.zip
Lots of action related fields added; scroll over default action is now displayed on-screen
svn-id: r51200
Diffstat (limited to 'engines/m4/hotspot.cpp')
-rw-r--r--engines/m4/hotspot.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/hotspot.cpp b/engines/m4/hotspot.cpp
index 9849cc7416..4eec50e29d 100644
--- a/engines/m4/hotspot.cpp
+++ b/engines/m4/hotspot.cpp
@@ -206,6 +206,7 @@ void HotSpotList::loadHotSpots(Common::SeekableReadStream* hotspotStream, int ho
y2 = readHotSpotInteger(hotspotStream);
index = add(new HotSpot(x1, y1, x2, y2), i == 0);
currentHotSpot = get(index);
+ currentHotSpot->setIndex(index);
feetX = readHotSpotInteger(hotspotStream);
feetY = readHotSpotInteger(hotspotStream);
currentHotSpot->setFeet(feetX, feetY);