mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
HE 7.2 correction to o6_pickVarRandom
svn-id: r14733
This commit is contained in:
parent
531b570394
commit
649e9b71a5
@ -3015,7 +3015,7 @@ void ScummEngine_v6::o6_pickVarRandom() {
|
|||||||
num = readArray(value, 0, 0);
|
num = readArray(value, 0, 0);
|
||||||
|
|
||||||
byte *ptr = getResourceAddress(rtString, num);
|
byte *ptr = getResourceAddress(rtString, num);
|
||||||
if (_version >= 7) {
|
if (_version >= 7 || _heversion >= 72) {
|
||||||
var_A = READ_LE_UINT32(ptr + 4);
|
var_A = READ_LE_UINT32(ptr + 4);
|
||||||
var_C = READ_LE_UINT32(ptr + 8);
|
var_C = READ_LE_UINT32(ptr + 8);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user