aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2015-12-27 11:30:56 +0100
committerStrangerke2015-12-27 11:30:56 +0100
commite06252cda5662e7d78f7884ddf5bca099eff93f9 (patch)
treee3bc20db226f3813b97c50636c823e4d42a0d2d0 /engines
parentc0e64a091a68cfd4a8764204d99a3e0a04c19ebd (diff)
downloadscummvm-rg350-e06252cda5662e7d78f7884ddf5bca099eff93f9.tar.gz
scummvm-rg350-e06252cda5662e7d78f7884ddf5bca099eff93f9.tar.bz2
scummvm-rg350-e06252cda5662e7d78f7884ddf5bca099eff93f9.zip
LAB: Init the mouse in the center of the screen
Diffstat (limited to 'engines')
-rw-r--r--engines/lab/eventman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/eventman.cpp b/engines/lab/eventman.cpp
index 2de42110d2..d1db854863 100644
--- a/engines/lab/eventman.cpp
+++ b/engines/lab/eventman.cpp
@@ -137,7 +137,7 @@ void EventManager::initMouse() {
_vm->_system->setMouseCursor(mouseData, MOUSE_WIDTH, MOUSE_HEIGHT, 0, 0, 0);
_vm->_system->showMouse(false);
- setMousePos(Common::Point(0, 0));
+ setMousePos(Common::Point(_vm->_graphics->_screenWidth / 2, _vm->_graphics->_screenHeight / 2));
}
void EventManager::mouseShow() {