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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user