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

@@ -9,7 +9,6 @@
#endregion
using System.Linq;
using OpenRA.GameRules;
using OpenRA.Mods.Common.Traits;
using OpenRA.Traits;
@@ -101,7 +100,7 @@ namespace OpenRA.Mods.Cnc.Traits
}
}
public int GetDamageModifier(Actor attacker, DamageWarhead warhead)
public int GetDamageModifier(Actor attacker, IWarhead warhead)
{
return state == PopupState.Closed ? info.ClosedDamageMultiplier : 100;
}