aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/kgraphics.cpp6
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();
}