Sync less bullet aspects

`length` is calculated from `pos` and `target` which are both synced.
`SourceActor`, `ticks` and `smokeTicks` work no different from `Missile`, where they're not synced, either.
This commit is contained in:
reaperrr
2016-10-16 01:56:16 +02:00
parent efd54f1c65
commit f6388c198d

View File

@@ -97,11 +97,11 @@ namespace OpenRA.Mods.Common.Projectiles
string trailPalette;
[Sync] WPos pos, target;
[Sync] int length;
int length;
[Sync] int facing;
[Sync] int ticks, smokeTicks;
int ticks, smokeTicks;
[Sync] public Actor SourceActor { get { return args.SourceActor; } }
public Actor SourceActor { get { return args.SourceActor; } }
public Bullet(BulletInfo info, ProjectileArgs args)
{