mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-25 22:07:34 +00:00
Fix crash at fbear end scene
svn-id: r12896
This commit is contained in:
parent
be218fa982
commit
e4e4336c0d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user