--- a/hedgewars/uGearsHandlersMess.pas Sun Dec 09 22:28:46 2018 +0100
+++ b/hedgewars/uGearsHandlersMess.pas Mon Dec 10 02:30:14 2018 +0100
@@ -6023,6 +6023,8 @@
RenderHealth(resgear^.Hedgehog^);
RecountTeamHealth(resgear^.Hedgehog^.Team);
resgear^.Hedgehog^.Effects[heResurrected]:= 1;
+ if resgear^.Hedgehog^.King then
+ resgear^.Hedgehog^.Team^.hasKing:= true;
{ Reviving a hog implies its clan is now alive, too. }
resgear^.Hedgehog^.Team^.Clan^.DeathLogged:= false;
s:= ansistring(resgear^.Hedgehog^.Name);