mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Fix crash at fbear end scene
svn-id: r12896
This commit is contained in:
+1
-1
@@ -3025,7 +3025,7 @@ void ScummEngine_v6::o6_pickVarRandom() {
|
||||
int value = fetchScriptWord();
|
||||
|
||||
if (readVar(value) == 0) {
|
||||
defineArray(value, 5, 0, num);
|
||||
defineArray(value, 5, 0, num + 1);
|
||||
if (num > 0) {
|
||||
int16 counter = 0;
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user