Make INotifyKilled require explicit implementation

This commit is contained in:
reaperrr
2018-04-29 04:46:23 +02:00
committed by Paul Chote
parent 7ca9aa5e0b
commit 3a82b13093
9 changed files with 9 additions and 8 deletions

View File

@@ -62,7 +62,7 @@ namespace OpenRA.Mods.Common.Traits.Render
rs = self.Trait<RenderSprites>();
}
public void Killed(Actor self, AttackInfo e)
void INotifyKilled.Killed(Actor self, AttackInfo e)
{
// Actors with Crushable trait will spawn CrushedSequence.
if (crushed || IsTraitDisabled)