# HG changeset patch # User Wuzzy # Date 1533167521 -7200 # Node ID 7699987d9f70b3e2114a1fc625e0deb5a5067bf6 # Parent 0adc82afb78470584faa1e7024c103a2d68e8566 Use the new NoPointX global in HedgeEditor diff -r 0adc82afb784 -r 7699987d9f70 share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Thu Aug 02 01:45:45 2018 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Thu Aug 02 01:52:01 2018 +0200 @@ -2861,7 +2861,7 @@ -- Display the X and Y coordinates of the cursor while the cursor is active function updateCursorCoords() - if band(GetState(CurrentHedgehog), gstChooseTarget) ~= 0 and CursorX ~= -2147483648 then + if band(GetState(CurrentHedgehog), gstChooseTarget) ~= 0 and CursorX ~= NoPoitX then local x1, y = 12, 24 if tagCursorX then DeleteVisualGear(tagCursorX)