mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-10 03:40:25 +00:00
FREESCAPE: reset mouse position after changing some area in driller
This commit is contained in:
parent
e0ad586e0f
commit
d10e37af93
@ -119,7 +119,8 @@ void DrillerEngine::gotoArea(uint16 areaID, int entranceID) {
|
||||
swapPalette(areaID);
|
||||
|
||||
if (areaID != _startArea || entranceID != _startEntrance) {
|
||||
_lastMousePos = g_system->getEventManager()->getMousePos();
|
||||
g_system->warpMouse(_crossairPosition.x, _crossairPosition.y);
|
||||
_lastMousePos = _crossairPosition;
|
||||
rotate(0, 0);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user