RenderCargo depends on IMove on the containing actor

This commit is contained in:
Chris Forbes
2012-05-22 19:22:22 +12:00
parent 3fbb81b4fc
commit e9656795a2
2 changed files with 6 additions and 9 deletions

View File

@@ -38,13 +38,10 @@ namespace OpenRA.Mods.RA
class Crate : ITick, IOccupySpace, ITeleportable, ICrushable, ISync
{
readonly Actor self;
[Sync]
int ticks;
[Sync]
public int2 Location;
[Sync] int ticks;
[Sync] public int2 Location;
CrateInfo Info;
public Crate(ActorInitializer init, CrateInfo info)
{
this.self = init.self;