diff options
Diffstat (limited to 'engines/m4/hotspot.cpp')
-rw-r--r-- | engines/m4/hotspot.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/hotspot.cpp b/engines/m4/hotspot.cpp index bf791e09fc..48f568431b 100644 --- a/engines/m4/hotspot.cpp +++ b/engines/m4/hotspot.cpp @@ -125,11 +125,11 @@ int HotSpotList::add(HotSpot *hotspot, bool head) { } void HotSpotList::remove(HotSpot *hotspot) { - unlink(hotspot); + unlinkItem(hotspot); delete hotspot; //TODO: check this? } -void HotSpotList::unlink(HotSpot *hotspot) { +void HotSpotList::unlinkItem(HotSpot *hotspot) { uint index = 0; while (index < _hotspots.size()) { if (_hotspots[index] == hotspot) { |