aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-02 20:36:43 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:47 +0100
commit38ed7f930f3ce409a8f8927aa895ec684c748345 (patch)
tree442cc0414170fb76f290eeae91b4a53b1f3fd1a9 /engines
parent69bdfae23586a4a03197d0e7b6a722068538ff2f (diff)
downloadscummvm-rg350-38ed7f930f3ce409a8f8927aa895ec684c748345.tar.gz
scummvm-rg350-38ed7f930f3ce409a8f8927aa895ec684c748345.tar.bz2
scummvm-rg350-38ed7f930f3ce409a8f8927aa895ec684c748345.zip
LAB: Renames and moved static variables to class
Diffstat (limited to 'engines')
-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");