Make Explodes implement interfaces explicitly

This commit is contained in:
reaperrr
2016-11-01 19:06:27 +01:00
parent d9d1fe2e73
commit 1b3884de23

View File

@@ -61,7 +61,7 @@ namespace OpenRA.Mods.Common.Traits
health = self.Trait<Health>();
}
public void Killed(Actor self, AttackInfo e)
void INotifyKilled.Killed(Actor self, AttackInfo e)
{
if (!self.IsInWorld)
return;
@@ -90,7 +90,7 @@ namespace OpenRA.Mods.Common.Traits
return (shouldExplode && useFullExplosion) ? info.WeaponInfo : info.EmptyWeaponInfo;
}
public void Damaged(Actor self, AttackInfo e)
void INotifyDamage.Damaged(Actor self, AttackInfo e)
{
if (info.DamageThreshold == 0)
return;