# HG changeset patch # User nemo # Date 1311772011 14400 # Node ID d5b392e0240318c6e215e907847babd50030be34 # Parent a724fe2d2ce06920db26a6eb24259c7b51657c06 skip splashes for flakes diff -r a724fe2d2ce0 -r d5b392e02403 hedgewars/GSHandlers.inc --- a/hedgewars/GSHandlers.inc Wed Jul 27 08:55:30 2011 -0400 +++ b/hedgewars/GSHandlers.inc Wed Jul 27 09:06:51 2011 -0400 @@ -156,7 +156,8 @@ AddCaption(Format(GetEventString(eidDrowned), Gear^.Hedgehog^.Name), cWhiteColor, capgrpMessage); end end - else Gear^.doStep := @doStepDrowningGear + else Gear^.doStep := @doStepDrowningGear; + if Gear^.Kind = gtFlake then exit // skip splashes end; if ((not isSubmersible) and (Y < cWaterLine + 64 + Gear^.Radius)) or (isSubmersible and (Y < cWaterLine + 2 + Gear^.Radius) and ((CurAmmoGear^.Pos = 0) and (CurAmmoGear^.dY < _0_01))) then