aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lab/lab.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp
index ba5efecd2c..6dc88004bd 100644
--- a/engines/lab/lab.cpp
+++ b/engines/lab/lab.cpp
@@ -104,6 +104,16 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc)
_nextFileName = nullptr;
_newFileName = nullptr;
+ for (int i = 0; i < 20; i++)
+ _moveImages[i] = 0;
+
+ for (int i = 0; i < 10; i++)
+ _invImages[10] = 0;
+
+ _moveGadgetList = 0;
+ _invGadgetList = 0;
+
+
//const Common::FSNode gameDataDir(ConfMan.get("path"));
//SearchMan.addSubDirectoryMatching(gameDataDir, "game");
//SearchMan.addSubDirectoryMatching(gameDataDir, "game/pict");