mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-29 23:01:58 +00:00
SCI: Fix precedence (bug #3087872)
This commit is contained in:
parent
804f0f3e47
commit
eb8b1a962b
@ -611,7 +611,7 @@ void Script::initialiseObjectsSci0(SegManager *segMan, SegmentId segmentId) {
|
||||
// #3150767.
|
||||
// Same happens with script 764, it seems to
|
||||
// contain junk towards its end.
|
||||
_objects.erase(addr.toUint16() + (getSciVersion() < SCI_VERSION_1_1) ? 8 : 0);
|
||||
_objects.erase(addr.toUint16() - SCRIPT_OBJECT_MAGIC_OFFSET);
|
||||
} else {
|
||||
error("Failed to locate base object for object at %04X:%04X", PRINT_REG(addr));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user