Only sync projectiles and future synced effects.

This commit is contained in:
Matthias Mailänder
2016-06-04 19:35:26 +02:00
parent 9def6b0f70
commit 71743b3b4a
11 changed files with 56 additions and 41 deletions

View File

@@ -141,11 +141,11 @@ namespace OpenRA.Mods.Common.Projectiles
"not trigger fast enough, causing the missile to fly past the target.")]
public readonly WDist CloseEnough = new WDist(298);
public IEffect Create(ProjectileArgs args) { return new Missile(this, args); }
public IProjectile Create(ProjectileArgs args) { return new Missile(this, args); }
}
// TODO: double check square roots!!!
public class Missile : IEffect, ISync
public class Missile : IProjectile, ISync
{
enum States
{