diff options
author | Martin Kiewitz | 2010-07-22 21:55:45 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-07-22 21:55:45 +0000 |
commit | d2ab37529e141fcedf0fb855c00ba66dab979e6c (patch) | |
tree | bc7ca616a60bc36828e47837903944dc65e7a14c /engines | |
parent | d77649828237a71f383b791f9ae87c17c8cc67bc (diff) | |
download | scummvm-rg350-d2ab37529e141fcedf0fb855c00ba66dab979e6c.tar.gz scummvm-rg350-d2ab37529e141fcedf0fb855c00ba66dab979e6c.tar.bz2 scummvm-rg350-d2ab37529e141fcedf0fb855c00ba66dab979e6c.zip |
SCI: kSetCursor change for sci32
we use the movezone like any other rect, but sierra sci actually specifies bottom/right as being the last possible coordinates
svn-id: r51174
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/kgraphics.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kgraphics.cpp b/engines/sci/engine/kgraphics.cpp index 6ca6525aec..299a4f5c81 100644 --- a/engines/sci/engine/kgraphics.cpp +++ b/engines/sci/engine/kgraphics.cpp @@ -149,12 +149,12 @@ static reg_t kSetCursorSci11(EngineState *s, int argc, reg_t *argv) { if (getSciVersion() >= SCI_VERSION_2) { top = argv[1].toSint16(); left = argv[0].toSint16(); - bottom = argv[3].toSint16(); - right = argv[2].toSint16(); + bottom = argv[3].toSint16() + 1; // bottom/right needs to get included in our movezone + right = argv[2].toSint16() + 1; } else { top = argv[0].toSint16(); left = argv[1].toSint16(); - bottom = argv[2].toSint16(); + bottom = argv[2].toSint16(); // TODO: check if sci16 behaved the same as sci32 right = argv[3].toSint16(); } |