HE games require _arraysSlots and sound resource 1 to be saved.

Breaks all old saved games for HE games only.

svn-id: r19179
This commit is contained in:
Travis Howell 2005-10-19 12:15:36 +00:00
parent 5fb75ec31c
commit ba780d65df
4 changed files with 41 additions and 23 deletions

View file

@ -1272,6 +1272,8 @@ void ScummEngine::allocateArrays() {
_bitVars = (byte *)calloc(_numBitVariables >> 3, 1);
if (_heversion >= 60) {
_arraySlot = (byte *)calloc(_numArray, 1);
}
if (_heversion >= 70) {
_storedFlObjects = (ObjectData *)calloc(100, sizeof(ObjectData));
}