diff options
author | Greg Frieger | 2009-02-28 21:59:49 +0000 |
---|---|---|
committer | Greg Frieger | 2009-02-28 21:59:49 +0000 |
commit | 61ab59138a1e1ba1bac9cdb0dbf3c5372667930d (patch) | |
tree | 2c9095b54e01b8e0761f70a6d63bf71638d07b6b /engines/sci/engine/savegame.cpp | |
parent | 4f3a50913e3305d5e13986ada915451312cd3707 (diff) | |
download | scummvm-rg350-61ab59138a1e1ba1bac9cdb0dbf3c5372667930d.tar.gz scummvm-rg350-61ab59138a1e1ba1bac9cdb0dbf3c5372667930d.tar.bz2 scummvm-rg350-61ab59138a1e1ba1bac9cdb0dbf3c5372667930d.zip |
resource_t struct replaced with stub Resource class for future objectifying. Also the crash when exiting SCI1 games was fixed
svn-id: r38982
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 3eaadf4c3b..dedcc84090 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -4942,7 +4942,7 @@ static int clone_entry_used(CloneTable *table, int n) { } static void load_script(EngineState *s, SegmentId seg) { - resource_t *script, *heap = NULL; + Resource *script, *heap = NULL; Script *scr = &(s->seg_manager->heap[seg]->data.script); scr->buf = (byte *)malloc(scr->buf_size); |