Whoops. Fix NoPointX typo in HedgeEditor
authorWuzzy <Wuzzy2@mail.ru>
Thu, 02 Aug 2018 04:08:12 +0200
changeset 13604 11497a930b29
parent 13603 f4d51ecf6043
child 13605 75c322ac6670
Whoops. Fix NoPointX typo in HedgeEditor
share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Thu Aug 02 04:04:21 2018 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua	Thu Aug 02 04:08:12 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 ~= NoPoitX then
+	if band(GetState(CurrentHedgehog), gstChooseTarget) ~= 0 and CursorX ~= NoPointX then
 		local x1, y = 12, 24
 		if tagCursorX then
 			DeleteVisualGear(tagCursorX)