diff options
author | Johannes Schickel | 2005-11-13 19:35:01 +0000 |
---|---|---|
committer | Johannes Schickel | 2005-11-13 19:35:01 +0000 |
commit | e0aef914fd2ef0eb852ea325028d29991e2f9a62 (patch) | |
tree | 6bd811f691d029666f1d0f5880f67ef1b0cd0268 /kyra/script.cpp | |
parent | 267fc7e2f652feaf6168d65ccf2916e09fe12edb (diff) | |
download | scummvm-rg350-e0aef914fd2ef0eb852ea325028d29991e2f9a62.tar.gz scummvm-rg350-e0aef914fd2ef0eb852ea325028d29991e2f9a62.tar.bz2 scummvm-rg350-e0aef914fd2ef0eb852ea325028d29991e2f9a62.zip |
Fixed a bug with the sprite loader and various things related to
the scene switching code. Now the intro works correctly with a minor graphics glitch.
svn-id: r19588
Diffstat (limited to 'kyra/script.cpp')
-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 c30e25208b..cf93823992 100644 --- a/kyra/script.cpp +++ b/kyra/script.cpp @@ -207,7 +207,7 @@ bool ScriptHelper::runScript(ScriptState *script) { opcode = 0; _parameter = code & 0x7FFF; } else if (code & 0x4000) { - _parameter = code & 0xFF; + _parameter = (int8)(code); } else if (code & 0x2000) { _parameter = READ_BE_UINT16(_curScript->ip); _curScript->ip += 2; } else { |