diff options
author | Travis Howell | 2005-04-20 01:33:44 +0000 |
---|---|---|
committer | Travis Howell | 2005-04-20 01:33:44 +0000 |
commit | 2009b72679837ac26aab05cad265c483a34091bd (patch) | |
tree | f690dd566c2ff8068ffd14b327d43979f8234ab3 /scumm/resource.cpp | |
parent | 214a5da948423aba60c289a2a158d2f91424d2ee (diff) | |
download | scummvm-rg350-2009b72679837ac26aab05cad265c483a34091bd.tar.gz scummvm-rg350-2009b72679837ac26aab05cad265c483a34091bd.tar.bz2 scummvm-rg350-2009b72679837ac26aab05cad265c483a34091bd.zip |
Replace all GF_HUMONGOUS use with _heversion.
Make HE60 specific to puttdemo, since it is unqie.
Other HE60 games changed to HE 61.
svn-id: r17698
Diffstat (limited to 'scumm/resource.cpp')
-rw-r--r-- | scumm/resource.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 9010fb6549..ec13c66353 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -126,7 +126,7 @@ void ScummEngine::openRoom(const int room) { sprintf(buf, "%s.la%d", _gameName.c_str(), diskNumber); sprintf(buf2, "%s.%.3d", _gameName.c_str(), diskNumber); - } else if (_features & GF_HUMONGOUS) { + } else if (_heversion >= 60) { sprintf(buf, "%s.he%.1d", _gameName.c_str(), diskNumber); } else { sprintf(buf, "%s.%.3d", _gameName.c_str(), diskNumber); @@ -1184,7 +1184,7 @@ void ScummEngine::allocateArrays() { _roomVars = (int32 *)calloc(_numRoomVariables, sizeof(int32)); _scummVars = (int32 *)calloc(_numVariables, sizeof(int32)); _bitVars = (byte *)calloc(_numBitVariables >> 3, 1); - if (_features & GF_HUMONGOUS) + if (_heversion >= 60) _arraySlot = (byte *)calloc(_numArray, 1); allocResTypeData(rtCostume, (_features & GF_NEW_COSTUMES) ? MKID('AKOS') : MKID('COST'), |