aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/staticres.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/parallaction/staticres.cpp')
-rw-r--r--engines/parallaction/staticres.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/staticres.cpp b/engines/parallaction/staticres.cpp
index 048aed4089..ddc71d8e85 100644
--- a/engines/parallaction/staticres.cpp
+++ b/engines/parallaction/staticres.cpp
@@ -657,7 +657,7 @@ void Parallaction_ns::initResources() {
_locationZoneStmt = new Table(ARRAYSIZE(_locationZoneStmtRes_ns), _locationZoneStmtRes_ns);
_locationAnimStmt = new Table(ARRAYSIZE(_locationAnimStmtRes_ns), _locationAnimStmtRes_ns);
- _localFlagNames = new Table(120);
+ _localFlagNames = new Table(NUM_LOCATIONS);
_localFlagNames->addData("visited");
if (getPlatform() == Common::kPlatformPC) {
@@ -688,7 +688,7 @@ void Parallaction_br::initResources() {
_locationAnimStmt = new Table(ARRAYSIZE(_locationAnimStmtRes_br), _locationAnimStmtRes_br);
// TODO: make sure there are 120 max locations in Big Red Adventure
- _localFlagNames = new Table(120);
+ _localFlagNames = new Table(NUM_LOCATIONS);
_localFlagNames->addData("visited");
if (getPlatform() == Common::kPlatformPC) {