mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 08:25:35 +00:00
Added note that the previous commit probably fixed bug #933610 as well.
svn-id: r13599
This commit is contained in:
parent
ac967bde63
commit
dfe25fbfd8
@ -2111,7 +2111,8 @@ void ScummEngine::readMAXS() {
|
||||
_numLocalObjects = _fileHandle.readUint16LE(); // 200
|
||||
_numArray = 50;
|
||||
_numVerbs = 100;
|
||||
// Used to be 50, which wasn't enough for MI2. See bug #936323.
|
||||
// Used to be 50, which wasn't enough for MI2 and FOA. See bugs
|
||||
// #933610 and #936323.
|
||||
_numNewNames = 100;
|
||||
_objectRoomTable = NULL;
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user