share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 7838 5c2337f8dbb2
parent 5827 a416f1070fdf
child 8043 da083f8d95e6
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Sat Oct 27 14:50:38 2012 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Sat Oct 27 11:33:38 2012 -0400
@@ -144,7 +144,7 @@
 		for i = 0, (numhhs-1) do
 			if hhs[i] ~= nil then
 				if GetHogClan(hhs[i]) == alt then
-					SetEffect(hhs[i], heResurrectable, false)
+					SetEffect(hhs[i], heResurrectable, 0)
 					SetHealth(hhs[i],0)
 				end
 			end
@@ -607,7 +607,7 @@
 	if GetGearType(gear) == gtHedgehog then
 		hhs[numhhs] = gear
 		numhhs = numhhs + 1
-		SetEffect(gear, heResurrectable, true)
+		SetEffect(gear, heResurrectable, 1)
 
 	elseif GetGearType(gear) == gtPiano then