From 42851e047f9c8bef8d20a1854ff50dfd11a41741 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Fri, 23 Jul 2010 09:49:40 +0000 Subject: Lots of action related fields added; scroll over default action is now displayed on-screen svn-id: r51200 --- engines/m4/hotspot.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'engines/m4/hotspot.cpp') 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); -- cgit v1.2.3