--- 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);