Changes Weapon.Impact() to use Target (from WPos).

This commit is contained in:
UberWaffe
2014-08-19 21:32:05 +02:00
parent c25c3441fb
commit 76ccb0cf00
15 changed files with 28 additions and 17 deletions

View File

@@ -180,7 +180,7 @@ namespace OpenRA.Mods.RA.Effects
if (ticks <= info.Arm)
return;
args.Weapon.Impact(pos, args.SourceActor, args.DamageModifiers);
args.Weapon.Impact(Target.FromPos(pos), args.SourceActor, args.DamageModifiers);
}
public IEnumerable<IRenderable> Render(WorldRenderer wr)