diff options
author | Bastien Bouclet | 2016-08-05 19:33:45 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-07-03 08:50:10 +0200 |
commit | 6b988670e89b01c554495058f9992bc7b8e25a2d (patch) | |
tree | 8dc27616122a56e87404e6a7443822433bff7e3a /engines/mohawk/riven.h | |
parent | 23bbf05c9162e8126df21794b08eb953d65d057e (diff) | |
download | scummvm-rg350-6b988670e89b01c554495058f9992bc7b8e25a2d.tar.gz scummvm-rg350-6b988670e89b01c554495058f9992bc7b8e25a2d.tar.bz2 scummvm-rg350-6b988670e89b01c554495058f9992bc7b8e25a2d.zip |
MOHAWK: Turn the active hotspot into a pointer
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); |