hedgewars/uCursor.pas
changeset 14305 a3531b520efb
parent 13498 424944a835a7
child 14829 9443dc6663ba
--- a/hedgewars/uCursor.pas	Fri Nov 23 16:03:10 2018 -0500
+++ b/hedgewars/uCursor.pas	Fri Nov 23 16:20:55 2018 -0500
@@ -33,6 +33,8 @@
 procedure updatePosition;
 var x, y: LongInt;
 begin
+	x:= cScreenWidth div 2;
+	y:= cScreenHeight div 2;
     if GameType <> gmtRecord then
         SDL_GetMouseState(@x, @y);