Remove invulnerability protection from the team gone effect
authornemo
Thu, 18 Feb 2010 13:59:05 +0000
changeset 2826 fbcfc86ef477
parent 2825 db7c35a0e9c1
child 2827 45817d8386c7
Remove invulnerability protection from the team gone effect
hedgewars/uTeams.pas
--- a/hedgewars/uTeams.pas	Thu Feb 18 13:23:24 2010 +0000
+++ b/hedgewars/uTeams.pas	Thu Feb 18 13:59:05 2010 +0000
@@ -450,7 +450,10 @@
 	for i:= 0 to cMaxHHIndex do
 		with Hedgehogs[i] do
 			if Gear <> nil then
+                begin
+                Gear^.Invulnerable:= false;
 				Gear^.Damage:= Gear^.Health
+                end
 end;
 
 procedure init_uTeams;