diff options
author | Max Horn | 2009-05-03 22:46:38 +0000 |
---|---|---|
committer | Max Horn | 2009-05-03 22:46:38 +0000 |
commit | d960c1e2a524116acab72d4486fc3372e97d80ea (patch) | |
tree | c07f2722a64b327ee745637da8942a517693b4b2 /engines/sci/engine/gc.cpp | |
parent | 82f2672008de3994c301aee92b3723f8deac6d98 (diff) | |
download | scummvm-rg350-d960c1e2a524116acab72d4486fc3372e97d80ea.tar.gz scummvm-rg350-d960c1e2a524116acab72d4486fc3372e97d80ea.tar.bz2 scummvm-rg350-d960c1e2a524116acab72d4486fc3372e97d80ea.zip |
SCI: Completed transition from MemObject (a union of various structs) to MemObjectNEW (a baseclass for these structs)
svn-id: r40294
Diffstat (limited to 'engines/sci/engine/gc.cpp')
-rw-r--r-- | engines/sci/engine/gc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/gc.cpp b/engines/sci/engine/gc.cpp index b6703e1679..f8be73f26a 100644 --- a/engines/sci/engine/gc.cpp +++ b/engines/sci/engine/gc.cpp @@ -123,7 +123,7 @@ reg_t_hash_map *find_all_used_references(EngineState *s) { for (i = 1; i < sm->_heap.size(); i++) if (interfaces[i] && interfaces[i]->getType() == MEM_OBJ_SCRIPT) { - Script *script = &(interfaces[i]->getMobj()->data.script); + Script *script = (Script *)(interfaces[i]->getMobj()); if (script->lockers) { // Explicitly loaded? int obj_nr; |