diff options
Diffstat (limited to 'engines/mohawk/riven.h')
-rw-r--r-- | engines/mohawk/riven.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h index 2fa8c65906..e4f0803578 100644 --- a/engines/mohawk/riven.h +++ b/engines/mohawk/riven.h @@ -167,11 +167,10 @@ public: // Hotspot functions/variables Common::Array<RivenHotspot *> _hotspots; - int32 _curHotspot; + RivenHotspot *_curHotspot; Common::Array<ZipMode> _zipModeData; - void runHotspotScript(uint16 hotspot, uint16 scriptType); - int32 getCurHotspot() const { return _curHotspot; } - Common::String getHotspotName(uint16 hotspot); + RivenHotspot *getCurHotspot() const { return _curHotspot; } + Common::String getHotspotName(const RivenHotspot *hotspot); void updateCurrentHotspot(); void addZipVisitedCard(uint16 cardId, uint16 cardNameId); |