share/hedgewars/Data/Scripts/Multiplayer/Racer.lua
changeset 7838 5c2337f8dbb2
parent 7142 8842fa26698b
child 8043 da083f8d95e6
--- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sat Oct 27 14:50:38 2012 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua	Sat Oct 27 11:33:38 2012 -0400
@@ -351,7 +351,7 @@
 	if roundNumber == roundLimit then
 		for i = 0, (numhhs-1) do
 			if GetHogClan(hhs[i]) ~= bestClan then
-				SetEffect(hhs[i], heResurrectable, false)
+				SetEffect(hhs[i], heResurrectable, 0)
 				SetHealth(hhs[i],0)
 			end
 		end
@@ -372,7 +372,7 @@
 		if turnN == 2 then
 			for i = 0, (numhhs-1) do
 				if hhs[i] ~= nil then
-					SetEffect(hhs[i], heResurrectable, false)
+					SetEffect(hhs[i], heResurrectable, 0)
 					SetHealth(hhs[i],0)
 				end
 			end
@@ -674,7 +674,7 @@
 	if GetGearType(gear) == gtHedgehog then
 		hhs[numhhs] = gear
 		numhhs = numhhs + 1
-		SetEffect(gear, heResurrectable, true)
+		SetEffect(gear, heResurrectable, 1)
 	end
 
 	if GetGearType(gear) == gtAirAttack then