FREESCAPE: reset mouse position after changing some area in driller

This commit is contained in:
neuromancer 2022-11-18 20:36:01 +01:00
parent e0ad586e0f
commit d10e37af93

View File

@ -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);
}
}