diff --git a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs index 63279db33c..d42fefe38c 100644 --- a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs @@ -52,7 +52,7 @@ namespace OpenRA.Mods.Common.Warheads if (dat.Length > airMargin.Length) return isDirectHit ? ImpactType.AirHit : ImpactType.Air; - if (dat.Length <= 0 && world.Map.GetTerrainInfo(cell).IsWater) + if (dat.Length <= airMargin.Length && world.Map.GetTerrainInfo(cell).IsWater) return isDirectHit ? ImpactType.WaterHit : ImpactType.Water; if (isDirectHit)