Introduce World.LocalShroud. Breaks targeting stealth tanks. Probably breaks FrozenUnderFog.

This commit is contained in:
Paul Chote
2010-11-26 16:56:33 +13:00
parent 41fd19c766
commit 7c5c989eb2
25 changed files with 88 additions and 161 deletions

View File

@@ -40,7 +40,7 @@ namespace OpenRA
public readonly PlayerReference PlayerRef;
public bool IsBot;
public Shroud Shroud { get { return World.WorldActor.Trait<Shroud>(); }}
public Shroud Shroud { get { return World.LocalShroud; }}
public World World { get; private set; }
public Player(World world, PlayerReference pr, int index)