share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
changeset 14832 d65e25e211d4
parent 14794 a9f32ff53389
child 15089 6f51c75994a4
--- a/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Fri Apr 19 04:48:30 2019 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/WxW.lua	Fri Apr 19 15:54:44 2019 +0200
@@ -724,6 +724,7 @@
 	g2X, g2Y = GetX(gear), GetY(gear)
 	q = g1X - g2X
 	w = g1Y - g2Y
+	-- Floating point operations are safe, it's only for visuals
 	r = math.sqrt( (q*q) + (w*w) )	--alternate
 
 	RCX = getGearValue(gear,"RX")