aboutsummaryrefslogtreecommitdiff
path: root/engines/pegasus/neighborhood/hotspotinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pegasus/neighborhood/hotspotinfo.h')
-rwxr-xr-xengines/pegasus/neighborhood/hotspotinfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/hotspotinfo.h b/engines/pegasus/neighborhood/hotspotinfo.h
index a9acfe7b21..3c958c9e35 100755
--- a/engines/pegasus/neighborhood/hotspotinfo.h
+++ b/engines/pegasus/neighborhood/hotspotinfo.h
@@ -64,6 +64,10 @@ public:
Entry findEntry(tHotSpotID hotspot);
+ typedef Common::Array<Entry>::iterator iterator;
+ iterator begin() { return _entries.begin(); }
+ iterator end() { return _entries.end(); }
+
private:
Common::Array<Entry> _entries;
};