# HG changeset patch # User nemo # Date 1433766069 14400 # Node ID 0ea100eefae78952e88cafd349aca6294c21f904 # Parent 3da6c2edecebe1715006228ea468b783dac550af ambiguous diff -r 3da6c2edeceb -r 0ea100eefae7 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Sun Jun 07 04:40:02 2015 +0200 +++ b/hedgewars/uScript.pas Mon Jun 08 08:21:09 2015 -0400 @@ -2778,6 +2778,7 @@ ScriptSetInteger('TotalRounds', TotalRounds); ScriptSetInteger('WaterLine', cWaterLine); if isCursorVisible and (not bShowAmmoMenu) then + begin if (prevCursorPoint.X <> CursorPoint.X) or (prevCursorPoint.Y <> CursorPoint.Y) then begin @@ -2786,6 +2787,7 @@ prevCursorPoint.X:= CursorPoint.X; prevCursorPoint.Y:= CursorPoint.Y; end + end else begin ScriptSetInteger('CursorX', NoPointX);