share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/global_functions.lua
changeset 9810 54c0fdec4600
parent 9802 00216d609140
child 11952 63988f36debf
--- a/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/global_functions.lua	Sat Dec 21 01:14:59 2013 +0400
+++ b/share/hedgewars/Data/Missions/Campaign/A_Space_Adventure/global_functions.lua	Sat Dec 21 02:18:40 2013 +0200
@@ -118,9 +118,3 @@
 	end
 	return res
 end
-
--- returns the distance of 2 gears
-function distance(gear1, gear2)
-	local dist = math.sqrt(math.pow((GetX(gear1) - GetX(gear2)),2) + math.pow((GetY(gear1) - GetY(gear2)),2))
-	return dist
-end