let ChooseSpawnPoint do its job

This commit is contained in:
Alli
2010-02-13 20:59:49 +13:00
parent 5138cfe995
commit c026796c04

View File

@@ -241,9 +241,6 @@ namespace OpenRa
sp = ChooseSpawnPoint(available, taken);
else
sp = world.Map.SpawnPoints.ElementAt(client.SpawnPoint - 1);
taken.Add(sp);
available.Remove(sp);
// todo: spawn more than one unit, in most cases!
world.CreateActor("mcv", sp, world.players[client.Index]);