diff options
author | Eugene Sandulenko | 2015-12-03 02:06:39 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:48 +0100 |
commit | d1e8e6dfbd5daf507fc837c10f0830adabb280ce (patch) | |
tree | c2bcde96a9cce50f454c68abda4ea16caf54fee0 /engines/lab/lab.cpp | |
parent | a8b6003751087e922f11b6c750ddbf45b305a119 (diff) | |
download | scummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.tar.gz scummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.tar.bz2 scummvm-rg350-d1e8e6dfbd5daf507fc837c10f0830adabb280ce.zip |
LAB: Fix bug during initialization
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 4 |
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; |