aboutsummaryrefslogtreecommitdiff
path: root/engines/sky
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sky')
-rw-r--r--engines/sky/control.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sky/control.cpp b/engines/sky/control.cpp
index 7407a30778..a53a6b899d 100644
--- a/engines/sky/control.cpp
+++ b/engines/sky/control.cpp
@@ -253,6 +253,9 @@ void Control::initPanel(void) {
_screenBuf = (uint8 *)malloc(GAME_SCREEN_WIDTH * FULL_SCREEN_HEIGHT);
memset(_screenBuf, 0, GAME_SCREEN_WIDTH * FULL_SCREEN_HEIGHT);
+ _mouseX = _skyMouse->giveMouseX();
+ _mouseY = _skyMouse->giveMouseY();
+
uint16 volY = (127 - _skyMusic->giveVolume()) / 4 + 59 - MPNL_Y; // volume slider's Y coordinate
uint16 spdY = (SkyEngine::_systemVars.gameSpeed - 2) / SPEED_MULTIPLY;
spdY += MPNL_Y + 83; // speed slider's initial position