aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek/startrek.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/startrek/startrek.cpp')
-rw-r--r--engines/startrek/startrek.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/startrek/startrek.cpp b/engines/startrek/startrek.cpp
index 580f604ddf..941052a65f 100644
--- a/engines/startrek/startrek.cpp
+++ b/engines/startrek/startrek.cpp
@@ -105,6 +105,9 @@ StarTrekEngine::StarTrekEngine(OSystem *syst, const StarTrekGameDescription *gam
for (int i = 0; i < NUM_OBJECTS; i++)
_itemList[i] = g_itemList[i];
+
+ for (int i = 0; i < MAX_BAN_FILES; i++)
+ _banFiles[i] = nullptr;
}
StarTrekEngine::~StarTrekEngine() {