aboutsummaryrefslogtreecommitdiff
path: root/sky/mouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sky/mouse.cpp')
-rw-r--r--sky/mouse.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/sky/mouse.cpp b/sky/mouse.cpp
index f702c41828..57b2edfff1 100644
--- a/sky/mouse.cpp
+++ b/sky/mouse.cpp
@@ -120,8 +120,10 @@ bool SkyMouse::fnAddHuman(void) {
_tMouseX = _newSafeX;
_tMouseY = _newSafeY;
- if (_aMouseY < 2) //stop mouse activating top line
+ if (_aMouseY < 2) { //stop mouse activating top line
_aMouseY = 2;
+ _system->warp_mouse(GAME_SCREEN_WIDTH / 2, GAME_SCREEN_HEIGHT / 2);
+ }
//force the pointer engine into running a get-off
//even if it's over nothing