Squash compiler warnings

This commit is contained in:
Paul Chote
2011-04-07 21:26:57 +12:00
parent b0425aff3b
commit aba14eec23
11 changed files with 17 additions and 27 deletions

View File

@@ -28,11 +28,9 @@ namespace OpenRA.Mods.Cnc
{
Dictionary<string, Actor> Actors;
Dictionary<string, Player> Players;
Map Map;
public void WorldLoaded(World w)
{
Map = w.Map;
Players = w.players.Values.ToDictionary(p => p.InternalName);
Actors = w.WorldActor.Trait<SpawnMapActors>().Actors;
var b = w.Map.Bounds;