HE games use different method to clear some arrays resources.
svn-id: r14423
This commit is contained in:
parent
ea694ffd68
commit
d60973b05e
6 changed files with 30 additions and 4 deletions
|
@ -2406,6 +2406,7 @@ void ScummEngine::allocateArrays() {
|
|||
_scummVars = (int32 *)calloc(_numVariables, sizeof(int32));
|
||||
_bitVars = (byte *)calloc(_numBitVariables >> 3, 1);
|
||||
_images = (uint16 *)calloc(_numImages, sizeof(uint16));
|
||||
_arraySlot = (byte *)calloc(_numArray, 1);
|
||||
|
||||
allocResTypeData(rtCostume, (_features & GF_NEW_COSTUMES) ? MKID('AKOS') : MKID('COST'),
|
||||
_numCostumes, "costume", 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue