diff options
author | Max Horn | 2002-12-26 01:46:36 +0000 |
---|---|---|
committer | Max Horn | 2002-12-26 01:46:36 +0000 |
commit | 7e7be4f6f3911c428449c727caa06a550fec6e3a (patch) | |
tree | 0542fe03bba3f46040b3042bcb45b8e211bb53d5 | |
parent | ea831a2fd487a23099d2bda91cf548fdec37d726 (diff) | |
download | scummvm-rg350-7e7be4f6f3911c428449c727caa06a550fec6e3a.tar.gz scummvm-rg350-7e7be4f6f3911c428449c727caa06a550fec6e3a.tar.bz2 scummvm-rg350-7e7be4f6f3911c428449c727caa06a550fec6e3a.zip |
32 bit variables storage
svn-id: r6161
-rw-r--r-- | scumm/resource.cpp | 2 | ||||
-rw-r--r-- | scumm/scumm.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 6c3f6dd775..ce34b10936 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1638,7 +1638,7 @@ void Scumm::allocateArrays() _inventory = (uint16 *)calloc(_numInventory, sizeof(uint16)); _verbs = (VerbSlot *)calloc(_numVerbs, sizeof(VerbSlot)); _objs = (ObjectData *)calloc(_numLocalObjects, sizeof(ObjectData)); - _vars = (int16 *)calloc(_numVariables, sizeof(int16)); + _vars = (int32 *)calloc(_numVariables, sizeof(int32)); _bitVars = (byte *)calloc(_numBitVariables >> 3, 1); allocResTypeData(rtCostume, (_features & GF_NEW_COSTUMES) ? MKID('AKOS') : MKID('COST'), diff --git a/scumm/scumm.h b/scumm/scumm.h index f393dc48e8..6b886eae33 100644 --- a/scumm/scumm.h +++ b/scumm/scumm.h @@ -323,7 +323,7 @@ public: uint16 *_inventory; byte *_arrays; uint16 *_newNames; - int16 *_vars; + int32 *_vars; int16 _varwatch; byte *_bitVars; |