share/hedgewars/Data/Maps/Control/map.lua
changeset 7838 5c2337f8dbb2
parent 5842 30e374a27269
child 8349 a1dbe148f10f
--- a/share/hedgewars/Data/Maps/Control/map.lua	Sat Oct 27 14:50:38 2012 +0200
+++ b/share/hedgewars/Data/Maps/Control/map.lua	Sat Oct 27 11:33:38 2012 -0400
@@ -400,7 +400,7 @@
 			for i = 0, (numhhs-1) do
 				if hhs[i] ~= nil then				
 					if GetHogClan(hhs[i]) ~= winnerClan then
-						SetEffect(hhs[i], heResurrectable, false)
+						SetEffect(hhs[i], heResurrectable, 0)
 						SetHealth(hhs[i],0)
 					end
 				end			
@@ -501,7 +501,7 @@
 	if GetGearType(gear) == gtHedgehog then
 		hhs[numhhs] = gear
 		numhhs = numhhs + 1
-		SetEffect(gear, heResurrectable, true)
+		SetEffect(gear, heResurrectable, 1)
 	end
 
 end