diff options
author | Max Horn | 2009-05-04 15:23:33 +0000 |
---|---|---|
committer | Max Horn | 2009-05-04 15:23:33 +0000 |
commit | f2da4bc4477ade50f53753e8f7702e072ad3cf8c (patch) | |
tree | 90d8e587b4a94f4fdcc21229ac5445fd15b903b1 /engines/sci/engine/savegame.cpp | |
parent | 27b74756d8039fe5aaed61bd4866087c64226faf (diff) | |
download | scummvm-rg350-f2da4bc4477ade50f53753e8f7702e072ad3cf8c.tar.gz scummvm-rg350-f2da4bc4477ade50f53753e8f7702e072ad3cf8c.tar.bz2 scummvm-rg350-f2da4bc4477ade50f53753e8f7702e072ad3cf8c.zip |
SCI: Got rid of heapmgr.h; further improve the Table code
svn-id: r40308
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 4130671cc9..7741e802d2 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -551,13 +551,13 @@ static int clone_entry_used(CloneTable *table, int n) { int seeker = table->first_free; CloneTable::Entry *entries = table->table; - if (seeker == HEAPENTRY_INVALID) return 1; + if (seeker == CloneTable::HEAPENTRY_INVALID) return 1; do { if (seeker == n) return 0; backup = seeker; seeker = entries[seeker].next_free; - } while (entries[backup].next_free != HEAPENTRY_INVALID); + } while (entries[backup].next_free != CloneTable::HEAPENTRY_INVALID); return 1; } |