aboutsummaryrefslogtreecommitdiff
path: root/engines/lab
diff options
context:
space:
mode:
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;