From dc5818d035b38ed2306dc20a49a8c877e5be3b7d Mon Sep 17 00:00:00 2001 From: reaperrr Date: Fri, 23 Jun 2017 20:13:30 +0200 Subject: [PATCH] Warhead style fixes Implement interfaces explicitly --- OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs | 2 +- OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs index 243b2fb876..ac544b208d 100644 --- a/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/CreateEffectWarhead.cs @@ -45,7 +45,7 @@ namespace OpenRA.Mods.Common.Warheads "Custom overrides should not be necessary under normal circumstances.")] public WDist VictimScanRadius = WDist.Zero; - public void RulesetLoaded(Ruleset rules, WeaponInfo wi) + void IRulesetLoaded.RulesetLoaded(Ruleset rules, WeaponInfo info) { if (VictimScanRadius == WDist.Zero) VictimScanRadius = Util.MinimumRequiredVictimScanRadius(rules); diff --git a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs index db3bf5dfa4..fe9a22184d 100644 --- a/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs +++ b/OpenRA.Mods.Common/Warheads/SpreadDamageWarhead.cs @@ -32,7 +32,7 @@ namespace OpenRA.Mods.Common.Warheads "Custom overrides should not be necessary under normal circumstances.")] public WDist VictimScanRadius = WDist.Zero; - public void RulesetLoaded(Ruleset rules, WeaponInfo info) + void IRulesetLoaded.RulesetLoaded(Ruleset rules, WeaponInfo info) { if (VictimScanRadius == WDist.Zero) VictimScanRadius = Util.MinimumRequiredVictimScanRadius(rules);