Control (style): Remove unused functions
authorWuzzy <Wuzzy2@mail.ru>
Fri, 17 May 2019 02:00:29 +0200
changeset 14987 932f1375a5c7
parent 14986 d09208b34713
child 14988 0ebecd424fc7
Control (style): Remove unused functions
share/hedgewars/Data/Maps/Control/map.lua
--- a/share/hedgewars/Data/Maps/Control/map.lua	Fri May 17 01:58:54 2019 +0200
+++ b/share/hedgewars/Data/Maps/Control/map.lua	Fri May 17 02:00:29 2019 +0200
@@ -434,21 +434,6 @@
 	end
 end
 
-function onHogHide(gear)
-	 InABetterPlaceNow(gear)
-end
-
-function onHogRestore(gear)
-	match = false
-	for i = 0, (numhhs-1) do
-		if (hhs[i] == nil) and (match == false) then
-			hhs[i] = gear
-			match = true
-		end
-	end
-end
-
-
 function onGearAdd(gear)
 
 	if GetGearType(gear) == gtHedgehog then