aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
authorEugene Sandulenko2015-12-03 02:06:39 +0100
committerWillem Jan Palenstijn2015-12-23 21:33:48 +0100
commitd1e8e6dfbd5daf507fc837c10f0830adabb280ce (patch)
treec2bcde96a9cce50f454c68abda4ea16caf54fee0 /engines/lab
parenta8b6003751087e922f11b6c750ddbf45b305a119 (diff)
downloadscummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.tar.gz
scummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.tar.bz2
scummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.zip
LAB: Fix bug during initialization
Diffstat (limited to 'engines/lab')
-rw-r--r--engines/lab/lab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp
index f741476924..944689b33b 100644
--- a/engines/lab/lab.cpp
+++ b/engines/lab/lab.cpp
@@ -93,10 +93,10 @@ LabEngine::LabEngine(OSystem *syst, const ADGameDescription *gameDesc)
_alternate = false;
for (int i = 0; i < 20; i++)
- _moveImages[20] = nullptr;
+ _moveImages[i] = nullptr;
for (int i = 0; i < 10; i++)
- _invImages[10] = nullptr;
+ _invImages[i] = nullptr;
_moveGadgetList = nullptr;
_invGadgetList = nullptr;