new mapactor init stuff

This commit is contained in:
Bob
2010-08-01 10:31:23 +12:00
parent f789aef892
commit 10b7ece62e
20 changed files with 149 additions and 49 deletions

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Traits
{
this.self = init.self;
this.Info = info;
this.__fromCell = this.__toCell = init.location;
this.__fromCell = this.__toCell = init.Get<LocationInit,int2>();
shroud = self.World.WorldActor.traits.Get<Shroud>();
uim = self.World.WorldActor.traits.Get<UnitInfluence>();