aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/hotspots.h
diff options
context:
space:
mode:
authorPaul Gilbert2014-06-01 14:43:26 -0400
committerPaul Gilbert2014-06-01 14:43:26 -0400
commit69d6e72f849786de672144bd7367761df89d242e (patch)
tree55fa9cd3a55b1f6e32ac04dbe92f71c733349359 /engines/mads/hotspots.h
parentd42317b35cd18a963798e0a81582b8b184107297 (diff)
downloadscummvm-rg350-69d6e72f849786de672144bd7367761df89d242e.tar.gz
scummvm-rg350-69d6e72f849786de672144bd7367761df89d242e.tar.bz2
scummvm-rg350-69d6e72f849786de672144bd7367761df89d242e.zip
MADS: Fix dynamic hotspots in scenes with multiple such hotspots
Diffstat (limited to 'engines/mads/hotspots.h')
-rw-r--r--engines/mads/hotspots.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/mads/hotspots.h b/engines/mads/hotspots.h
index 5fd910e1aa..f9334eace8 100644
--- a/engines/mads/hotspots.h
+++ b/engines/mads/hotspots.h
@@ -77,6 +77,12 @@ public:
void refresh();
/**
+ * Get an active dynamic hotspot
+ * @param index Active index
+ */
+ DynamicHotspot &get(int index);
+
+ /**
* Synchronize the data
*/
void synchronize(Common::Serializer &s);