Less stupid resetPosition comment in uCursor.pas
authorWuzzy <almikes@aol.com>
Fri, 06 Oct 2017 17:36:03 +0200
changeset 12665 d3fb69e31165
parent 12664 545e1198e8b9
child 12666 1dc160048a0c
Less stupid resetPosition comment in uCursor.pas
hedgewars/uCursor.pas
--- a/hedgewars/uCursor.pas	Fri Oct 06 17:32:02 2017 +0200
+++ b/hedgewars/uCursor.pas	Fri Oct 06 17:36:03 2017 +0200
@@ -19,12 +19,11 @@
 procedure resetPosition;
 begin
     // Move curser by 1px in case it's already centered.
-    // Due to switch to SDL2, the game camera in the Alpha for 0.9.23
-    // screwed up if the game started with the mouse already being
-    // centered.
+    // The game camera in the Alpha for 0.9.23 screwed up if
+    // the game started with the mouse already being centered.
+    // This fixes it, but we might have overlooked a related
+    // bug somewhere else.
     // No big deal since this function is (so far) only called once.
-    // This fixes it, but we might have overlooked an SDL2-related
-    // bug somewhere else.
     SDL_WarpMouse((cScreenWidth div 2) + 1, cScreenHeight div 2);
     SDL_WarpMouse(cScreenWidth div 2, cScreenHeight div 2);
 end;