diff options
Diffstat (limited to 'engines/lure/game.cpp')
-rw-r--r-- | engines/lure/game.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp index 9542c35785..eaed7ebbe7 100644 --- a/engines/lure/game.cpp +++ b/engines/lure/game.cpp @@ -71,12 +71,12 @@ void Game::tick() { uint16 *idList = new uint16[res.activeHotspots().size()]; int idSize = 0; for (i = res.activeHotspots().begin(); i != res.activeHotspots().end(); ++i) { - Hotspot *hotspot = (*i).get(); + Hotspot const &hotspot = **i; - if (!_preloadFlag || ((hotspot->layer() != 0xff) && - (hotspot->hotspotId() < FIRST_NONCHARACTER_ID))) + if (!_preloadFlag || ((hotspot.layer() != 0xff) && + (hotspot.hotspotId() < FIRST_NONCHARACTER_ID))) // Add hotspot to list to execute - idList[idSize++] = hotspot->hotspotId(); + idList[idSize++] = hotspot.hotspotId(); } debugC(ERROR_DETAILED, kLureDebugAnimations, "Hotspot ticks begin"); |