whoward69
DLL Minion
Fix the !$*##!%* logic for picking spy names!
If a civ has spare spy names, pick one
Otherwise pick one not being used at random from a civ NOT in the game
Otherwise pick one not being used at random from a civ in the game
Otherwise call them "Spy 1", "Spy 2" etc
(This is the same logic as picking a city name, so that existing code can be used as a template!)
But don't just crash!!!
If a civ has spare spy names, pick one
Otherwise pick one not being used at random from a civ NOT in the game
Otherwise pick one not being used at random from a civ in the game
Otherwise call them "Spy 1", "Spy 2" etc
(This is the same logic as picking a city name, so that existing code can be used as a template!)
But don't just crash!!!