mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-26 06:18:23 +00:00
Disambiguate o6_jump execution (is _scriptPointer read before or after fetchScriptWordSigned() (which modifies _scriptPointer) is being called)
svn-id: r11261
This commit is contained in:
parent
1f53624d88
commit
5d863586dc
@ -681,7 +681,8 @@ void ScummEngine_v6::o6_ifNot() {
|
||||
}
|
||||
|
||||
void ScummEngine_v6::o6_jump() {
|
||||
_scriptPointer += fetchScriptWordSigned();
|
||||
int offset = fetchScriptWordSigned();
|
||||
_scriptPointer += offset;
|
||||
}
|
||||
|
||||
void ScummEngine_v6::o6_startScript() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user