diff options
author | D G Turner | 2019-08-03 13:56:06 +0100 |
---|---|---|
committer | D G Turner | 2019-08-03 13:56:06 +0100 |
commit | f234a36a27fbefcba4fa56d9cf4e0f460ba306dd (patch) | |
tree | df4200ed37d6697c6df92a6bcfd898442fc85b68 /engines/hopkins/menu.cpp | |
parent | 0a3d6d80547f7bba210f35ca744c526bebbe9a83 (diff) | |
download | scummvm-rg350-f234a36a27fbefcba4fa56d9cf4e0f460ba306dd.tar.gz scummvm-rg350-f234a36a27fbefcba4fa56d9cf4e0f460ba306dd.tar.bz2 scummvm-rg350-f234a36a27fbefcba4fa56d9cf4e0f460ba306dd.zip |
HOPKINS: Fix GCC Compilation Warning from memset usage
Diffstat (limited to 'engines/hopkins/menu.cpp')
-rw-r--r-- | engines/hopkins/menu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hopkins/menu.cpp b/engines/hopkins/menu.cpp index 169b29a560..165a403ffb 100644 --- a/engines/hopkins/menu.cpp +++ b/engines/hopkins/menu.cpp @@ -63,7 +63,7 @@ int MenuManager::menu() { for (int idx = 0; idx < 31; ++idx) _vm->_globals->_inventory[idx] = 0; - memset(_vm->_globals->_saveData, 0, 2000); + memset(_vm->_globals->_saveData->_data, 0, 2050-50); _vm->_objectsMan->addObject(14); memset(frameIndex, 0, sizeof(int) * ARRAYSIZE(frameIndex)); |