Use in parameter for Target
This commit is contained in:
@@ -23,7 +23,7 @@ namespace OpenRA.Mods.D2k.Warheads
|
||||
[FieldLoader.Require]
|
||||
public readonly int Damage = 0;
|
||||
|
||||
public override void DoImpact(Target target, WarheadArgs args)
|
||||
public override void DoImpact(in Target target, WarheadArgs args)
|
||||
{
|
||||
if (target.Type == TargetType.Invalid)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user