Fix minimap size/render issues (still needs palette fix).

This commit is contained in:
Paul Chote
2010-03-04 20:57:55 +13:00
parent 65783c369a
commit 399d2f73e8
3 changed files with 11 additions and 10 deletions

View File

@@ -93,6 +93,7 @@ namespace OpenRA.FileFormats
LoadActors(file, "INFANTRY");
SpawnPoints = file.GetSection("Waypoints")
.Where(kv => int.Parse(kv.Value) > 0)
.Select(kv => Pair.New(int.Parse(kv.Key), new int2(int.Parse(kv.Value) % MapSize, int.Parse(kv.Value) / MapSize)))
.Where(a => a.First < 8)
.Select(a => a.Second)