From d2ab37529e141fcedf0fb855c00ba66dab979e6c Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Thu, 22 Jul 2010 21:55:45 +0000 Subject: 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 --- engines/sci/engine/kgraphics.cpp | 6 +++--- 1 file 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(); } -- cgit v1.2.3