aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorStrangerke2013-12-01 10:27:52 +0100
committerStrangerke2013-12-01 10:27:52 +0100
commit9bf28664b9e0f4c36c51ad3cf327db049b570ee1 (patch)
treee86a7c39c4b7ebc02321994277bf38cda97b1f58 /engines/tsage
parent94871e9341ac54d560fd5eb71926ddb68210f814 (diff)
downloadscummvm-rg350-9bf28664b9e0f4c36c51ad3cf327db049b570ee1.tar.gz
scummvm-rg350-9bf28664b9e0f4c36c51ad3cf327db049b570ee1.tar.bz2
scummvm-rg350-9bf28664b9e0f4c36c51ad3cf327db049b570ee1.zip
TSAGE: R2R - Fix bug in cursor code in scene 1337
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/ringworld2/ringworld2_scenes1.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/engines/tsage/ringworld2/ringworld2_scenes1.cpp b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
index e2560aad2e..44bd864b02 100644
--- a/engines/tsage/ringworld2/ringworld2_scenes1.cpp
+++ b/engines/tsage/ringworld2/ringworld2_scenes1.cpp
@@ -5267,14 +5267,14 @@ void Scene1337::subC4A39(unkObj1337sub1 *subObj) {
void Scene1337::subC4CD2() {
if (R2_GLOBALS._v57709 > 0) {
subD1917();
- subD1940(false);
+ subD1940(false); // _v5780C--
}
}
void Scene1337::subC4CEC() {
if (R2_GLOBALS._v57709 == 0) {
subD18F5();
- subD1940(true);
+ subD1940(true); // _v5780C++
}
}
@@ -5387,7 +5387,7 @@ void Scene1337::subPostInit() {
R2_GLOBALS._v57709 = 0;
R2_GLOBALS._v5780C = 0;
subD183F(1, 0);
- subD1940(true);
+ subD1940(true); // _v5780C++
subD18F5();
// loadScene(1330);
@@ -6838,15 +6838,13 @@ void Scene1337::subD183F(int arg1, int arg2) {
}
void Scene1337::setCursorData(int resNum, int rlbNum, int frameNum) {
- // Change the mouse cursor and set it to the desired frame (if different than 0)
- if (!frameNum)
- return;
-
_cursorCurRes = resNum;
_cursorCurStrip = rlbNum;
_cursorCurFrame = frameNum;
if (!frameNum) {
+ // Should be a hardcoded cursor displaying only a dot.
+ // FIXME: Use another cursor when possible
R2_GLOBALS._events.setCursor(CURSOR_CROSSHAIRS);
} else {
uint size;