HE 7.2 correction to o6_pickVarRandom

svn-id: r14733
This commit is contained in:
Eugene Sandulenko 2004-08-24 16:30:20 +00:00
parent 531b570394
commit 649e9b71a5

View File

@ -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 {