aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-04-20 07:21:25 +0000
committerTorbjörn Andersson2004-04-20 07:21:25 +0000
commitdfe25fbfd8f8c2a1d015e5d6ca9380ca5a07c00d (patch)
treef7538c677016a573b4fbe6c90ac47db22d515355 /scumm/saveload.cpp
parentac967bde630457fbaf2220145ee048abda652cfe (diff)
downloadscummvm-rg350-dfe25fbfd8f8c2a1d015e5d6ca9380ca5a07c00d.tar.gz
scummvm-rg350-dfe25fbfd8f8c2a1d015e5d6ca9380ca5a07c00d.tar.bz2
scummvm-rg350-dfe25fbfd8f8c2a1d015e5d6ca9380ca5a07c00d.zip
Added note that the previous commit probably fixed bug #933610 as well.
svn-id: r13599
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index 51a090b87a..42c8fa24c8 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -824,10 +824,11 @@ void ScummEngine::saveLoadResource(Serializer *ser, int type, int idx) {
}
if (type == rtObjectName && ser->getVersion() >= VER(25)) {
// Paranoia: We increased the possible number of new names
- // for MI2 to fix bug #936323. The savegame format didn't
- // change, but at least during the transition period there
- // is a slight chance that we try to load more names than
- // we have allocated space for. If so, discard them.
+ // to fix bugs #933610 and #936323. The savegame format
+ // didn't change, but at least during the transition
+ // period there is a slight chance that we try to load
+ // more names than we have allocated space for. If so,
+ // discard them.
if (idx < _numNewNames)
_newNames[idx] = ser->loadUint16();
}