diff options
author | Eugene Sandulenko | 2016-05-17 19:04:59 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-05-17 19:04:59 +0200 |
commit | f6283094acebd6ea0587689716cf749d0a352a9d (patch) | |
tree | ee7d22c77301d78ce459e5e610088d5024fd65ef /engines/agi/saveload.cpp | |
parent | 33abb6118f9551c6a4afc05ad35de6f630ccb152 (diff) | |
download | scummvm-rg350-f6283094acebd6ea0587689716cf749d0a352a9d.tar.gz scummvm-rg350-f6283094acebd6ea0587689716cf749d0a352a9d.tar.bz2 scummvm-rg350-f6283094acebd6ea0587689716cf749d0a352a9d.zip |
AGI: Remove useless code.
We set vtEntries to SCREENOBJECTS_MAX, thus, the loop
for (i = vtEntries; i < SCREENOBJECTS_MAX; i++) is a no-op.
Diffstat (limited to 'engines/agi/saveload.cpp')
-rw-r--r-- | engines/agi/saveload.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/engines/agi/saveload.cpp b/engines/agi/saveload.cpp index 09fce9320b..aa46cf4e9f 100644 --- a/engines/agi/saveload.cpp +++ b/engines/agi/saveload.cpp @@ -689,9 +689,6 @@ int AgiEngine::loadGame(const Common::String &fileName, bool checkId) { } } } - for (i = vtEntries; i < SCREENOBJECTS_MAX; i++) { - memset(&_game.screenObjTable[i], 0, sizeof(ScreenObjEntry)); - } // Fix some pointers in screenObjTable |