hedgewars/uCursor.pas
changeset 15908 014f4edd0421
parent 14830 c2793ff4e887
--- a/hedgewars/uCursor.pas	Thu Oct 06 20:58:54 2022 +0300
+++ b/hedgewars/uCursor.pas	Sun Oct 16 13:14:16 2022 +0300
@@ -13,7 +13,7 @@
 
 implementation
 
-uses SDLh, uVariables, uTypes;
+uses SDLh, uVariables, uTypes, uDrawing;
 
 procedure init;
 begin
@@ -54,6 +54,7 @@
 begin
     CursorPoint.X:= CursorPoint.X + x;
     CursorPoint.Y:= CursorPoint.Y - y;
+    uDrawing.onCursorMoved();
 end;
 
 end.