Overhaul target line rendering:
- Targets are now defined by the activities - Queued activities are shown - Support custom attack colors
This commit is contained in:
@@ -311,8 +311,6 @@ namespace OpenRA.Mods.Common.Traits
|
||||
|
||||
void Attack(Actor self, Target target, bool allowMove)
|
||||
{
|
||||
self.SetTargetLine(target, Color.Red, false);
|
||||
|
||||
foreach (var ab in ActiveAttackBases)
|
||||
ab.AttackTarget(target, false, allowMove);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user