equal
deleted
inserted
replaced
849 PrvInactive:= false; |
849 PrvInactive:= false; |
850 AllInactive:= false; |
850 AllInactive:= false; |
851 |
851 |
852 if not PHedgehog(Gear^.Hedgehog)^.Team^.hasGone then |
852 if not PHedgehog(Gear^.Hedgehog)^.Team^.hasGone then |
853 begin |
853 begin |
854 Gear^.State:= Gear^.State or gstHHDeath; |
854 if PHedgehog(Gear^.Hedgehog)^.Effects[heResurrectable] then begin |
855 Gear^.doStep:= @doStepHedgehogDead; |
855 ResurrectHedgehog(Gear); |
856 // Death message |
856 end else begin |
857 AddCaption(Format(GetEventString(eidDied), PHedgehog(Gear^.Hedgehog)^.Name), cWhiteColor, capgrpMessage); |
857 Gear^.State:= Gear^.State or gstHHDeath; |
|
858 Gear^.doStep:= @doStepHedgehogDead; |
|
859 // Death message |
|
860 AddCaption(Format(GetEventString(eidDied), PHedgehog(Gear^.Hedgehog)^.Name), cWhiteColor, capgrpMessage); |
|
861 end; |
858 end |
862 end |
859 else |
863 else |
860 begin |
864 begin |
861 Gear^.State:= Gear^.State or gstHHGone; |
865 Gear^.State:= Gear^.State or gstHHGone; |
862 Gear^.doStep:= @doStepHedgehogGone; |
866 Gear^.doStep:= @doStepHedgehogGone; |