--- a/ChangeLog.txt Sun Jul 28 00:36:09 2019 +0200
+++ b/ChangeLog.txt Mon Jul 29 21:58:39 2019 +0200
@@ -39,7 +39,6 @@
* Add missing winner animation in single missions
* Fix hog floating when switching to moving hog
* Fix jump key not being ignored after placing girder or target
- * Explode hog instantly when taking damage while dying
* Fix buggy hog when hog took damage during "idle" phase in kamikaze attack
Styles and schemes:
--- a/hedgewars/uGearsUtils.pas Sun Jul 28 00:36:09 2019 +0200
+++ b/hedgewars/uGearsUtils.pas Mon Jul 29 21:58:39 2019 +0200
@@ -284,10 +284,7 @@
Gear^.Hedgehog^.Team^.Clan^.Flawless:= false;
- if (Gear^.State and gstHHDeath) <> 0 then
- // If hog took damage while dying, explode hog instantly (see doStepHedgehogDead)
- Gear^.Timer:= 1
- else
+ if (Gear^.State and gstHHDeath) = 0 then
begin
HHHurt(Gear^.Hedgehog, Source, Damage);
AddDamageTag(hwRound(Gear^.X), hwRound(Gear^.Y), Damage, Gear^.Hedgehog^.Team^.Clan^.Color);