aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/hotspot.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/m4/hotspot.h')
-rw-r--r--engines/m4/hotspot.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/m4/hotspot.h b/engines/m4/hotspot.h
index 6ef9d9916f..bd1bc480a7 100644
--- a/engines/m4/hotspot.h
+++ b/engines/m4/hotspot.h
@@ -96,6 +96,7 @@ public:
int add(HotSpot *hotspot, bool head = false);
HotSpot *get(int index) { return _hotspots[index]; }
+ HotSpot &operator[](int idx) { return *get(idx); }
void remove(HotSpot *hotspot);
void unlinkItem(HotSpot *hotspot);
void clear();