diff options
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index dedcddb8c7..4a93ee968b 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -56,7 +56,6 @@ uint32 _engineFlags = 0; uint16 _score = 1; -uint32 _localFlags[120] = { 0 }; Command * _forwardedCommands[20] = { NULL, NULL, @@ -941,7 +940,7 @@ void Parallaction::freeLocation() { // HACK: prevents leakage. A routine like this // should allocate memory at all, though. if ((_engineFlags & kEngineQuit) == 0) { - _localFlagNames = new Table(120); + _localFlagNames = new Table(NUM_LOCATIONS); _localFlagNames->addData("visited"); } |