hedgewars/uGearsHandlersMess.pas
changeset 14637 4638aa2ea8f2
parent 14595 6e5cda26f676
child 14653 5132548cdb77
--- a/hedgewars/uGearsHandlersMess.pas	Wed Jan 16 21:32:25 2019 +0100
+++ b/hedgewars/uGearsHandlersMess.pas	Wed Jan 16 22:39:27 2019 +0100
@@ -5994,6 +5994,8 @@
                     resgear^.Hedgehog^.Team^.hasKing:= true;
                 { Reviving a hog implies its clan is now alive, too. }
                 resgear^.Hedgehog^.Team^.Clan^.DeathLogged:= false;
+                if (not resgear^.Hedgehog^.Team^.Passive) then
+                    resgear^.Hedgehog^.Team^.Clan^.Passive:= false;
                 s:= ansistring(resgear^.Hedgehog^.Name);
                 AddCaption(FormatA(GetEventString(eidResurrected), s), capcolDefault, capgrpMessage);
                 // only make hat-less hedgehogs look like zombies, preserve existing hats