diff options
author | Johannes Schickel | 2005-11-27 00:37:36 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-11-27 00:37:36 +0000 |
commit | 01c5b311474de1fd8761b74725632c6e65c85ae5 (patch) | |
tree | e823a494e48cc5ba73ac8c5655b6f1a3afb8339d /kyra | |
parent | 46d02cd9def7ab76a3c223b4845ff70b33139b01 (diff) | |
download | scummvm-rg350-01c5b311474de1fd8761b74725632c6e65c85ae5.tar.gz scummvm-rg350-01c5b311474de1fd8761b74725632c6e65c85ae5.tar.bz2 scummvm-rg350-01c5b311474de1fd8761b74725632c6e65c85ae5.zip |
Fixed script function start offset. -> bug with no apple in the vase is fixed now
svn-id: r19708
Diffstat (limited to 'kyra')
-rw-r--r-- | kyra/script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/script.cpp b/kyra/script.cpp index cf93823992..ad9d853eed 100644 --- a/kyra/script.cpp +++ b/kyra/script.cpp @@ -181,7 +181,7 @@ bool ScriptHelper::startScript(ScriptState *script, int function) { if (functionOffset == (uint16)-1) { return false; } - script->ip = &script->dataPtr->data[functionOffset*2+2]; + script->ip = &script->dataPtr->data[functionOffset*2]; return true; } |