hedgewars/uGearsList.pas
changeset 13742 bbea77a8dff9
parent 13656 56a925256039
child 13855 4e4111a75256
--- a/hedgewars/uGearsList.pas	Sun Sep 02 00:07:33 2018 +0200
+++ b/hedgewars/uGearsList.pas	Sun Sep 02 01:25:37 2018 +0200
@@ -868,8 +868,8 @@
             begin
             t:= max(Gear^.Damage, Gear^.Health);
             Gear^.Damage:= t;
-            if (((not SuddenDeathDmg) and (WaterOpacity < $FF)) or (SuddenDeathDmg and (SDWaterOpacity < $FF))) then
-                spawnHealthTagForHH(Gear, t);
+            // Display hedgehog damage in water
+            spawnHealthTagForHH(Gear, t);
             end;
 
         team:= Gear^.Hedgehog^.Team;