aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/game.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2008-04-06 12:00:37 +0000
committerFilippos Karapetis2008-04-06 12:00:37 +0000
commit6a9acd7a5e526f06e5fc0757335cd5b09ce34e3c (patch)
treeb9caf82ce1ab0101adb17858c8e27f66b1eea904 /engines/lure/game.cpp
parentbd1224e36c86c635d0c8712f2082c9301674f51c (diff)
downloadscummvm-rg350-6a9acd7a5e526f06e5fc0757335cd5b09ce34e3c.tar.gz
scummvm-rg350-6a9acd7a5e526f06e5fc0757335cd5b09ce34e3c.tar.bz2
scummvm-rg350-6a9acd7a5e526f06e5fc0757335cd5b09ce34e3c.zip
Replaced ManagedList with Common::SharedPtr in the rest of the lure engine
svn-id: r31420
Diffstat (limited to 'engines/lure/game.cpp')
-rw-r--r--engines/lure/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/game.cpp b/engines/lure/game.cpp
index dfdcbfe956..c87f81618a 100644
--- a/engines/lure/game.cpp
+++ b/engines/lure/game.cpp
@@ -72,7 +72,7 @@ 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;
+ Hotspot *hotspot = (*i).get();
if (!_preloadFlag || ((hotspot->layer() != 0xff) &&
(hotspot->hotspotId() < FIRST_NONCHARACTER_ID)))