changeset 10017 | de822cd3df3a |
parent 10015 | 4feced261c68 |
child 12659 | 545e1198e8b9 |
--- a/hedgewars/uCursor.pas Tue Jan 21 22:38:13 2014 +0100 +++ b/hedgewars/uCursor.pas Tue Jan 21 22:43:06 2014 +0100 @@ -25,7 +25,7 @@ var x, y: LongInt; begin SDL_GetMouseState(@x, @y); - + if(x <> cScreenWidth div 2) or (y <> cScreenHeight div 2) then begin handlePositionUpdate(x - cScreenWidth div 2, y - cScreenHeight div 2);