aboutsummaryrefslogtreecommitdiff
path: root/scumm/resource.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-08-01 13:57:00 +0000
committerTravis Howell2004-08-01 13:57:00 +0000
commitd60973b05e9c607b46edaa45b56b86953d7d079d (patch)
treebae645298b3f647fe29ee8991ac1cc49812c0b2c /scumm/resource.cpp
parentea694ffd68a5071fda937b3d23d6796c3abb3ba3 (diff)
downloadscummvm-rg350-d60973b05e9c607b46edaa45b56b86953d7d079d.tar.gz
scummvm-rg350-d60973b05e9c607b46edaa45b56b86953d7d079d.tar.bz2
scummvm-rg350-d60973b05e9c607b46edaa45b56b86953d7d079d.zip
HE games use different method to clear some arrays resources.
svn-id: r14423
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r--scumm/resource.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index 0a9f253311..f9529c75a3 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -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);