Fix DamageModifiers

This commit is contained in:
penev92
2015-07-04 16:14:17 +03:00
parent fe94b7686e
commit 351cf254e7
7 changed files with 22 additions and 19 deletions

View File

@@ -99,7 +99,7 @@ namespace OpenRA.Mods.Common.Traits
inaccuracyLevel = newLevel.Clamp(0, info.InaccuracyModifier.Length);
}
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
public int GetDamageModifier(Actor attacker, IWarhead warhead)
{
return damageLevel > 0 ? info.DamageModifier[damageLevel - 1] : 100;
}