diff options
author | Filippos Karapetis | 2011-12-17 20:06:55 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-17 20:06:55 +0200 |
commit | f8bfe84c44edd9969cad6c9e011c43f92127a23d (patch) | |
tree | 1d8eb28b7d526496d43b7746e2b87de33c69cac9 | |
parent | 855b5320b3249e138eeb07a2414ce2ecb862387a (diff) | |
download | scummvm-rg350-f8bfe84c44edd9969cad6c9e011c43f92127a23d.tar.gz scummvm-rg350-f8bfe84c44edd9969cad6c9e011c43f92127a23d.tar.bz2 scummvm-rg350-f8bfe84c44edd9969cad6c9e011c43f92127a23d.zip |
DREAMWEB: Remove dead code
-rw-r--r-- | engines/dreamweb/saveload.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/dreamweb/saveload.cpp b/engines/dreamweb/saveload.cpp index 574036c045..c77c419148 100644 --- a/engines/dreamweb/saveload.cpp +++ b/engines/dreamweb/saveload.cpp @@ -191,7 +191,7 @@ void DreamGenContext::saveGame() { } char descbuf[17] = { 2, 0 }; - Common::strlcpy((char*)descbuf+1, game_description.c_str(), 16); + Common::strlcpy((char*)descbuf + 1, game_description.c_str(), 16); unsigned int desclen = game_description.size(); if (desclen > 15) desclen = 15; @@ -199,9 +199,6 @@ void DreamGenContext::saveGame() { descbuf[++desclen] = 0; while (desclen < 16) descbuf[++desclen] = 1; - if (savegameId < 7) - Common::strlcpy(&_saveNames[17 * savegameId + 1], descbuf, 16); // the first character is unused - savePosition(savegameId, descbuf); // TODO: The below is copied from actualsave |