-
Notifications
You must be signed in to change notification settings - Fork 396
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue 12822 GameMap#getNeighbors IllegalArgumentException (#12831)
* Fix issue 12822 GameMap#getNeighbors IllegalArgumentException Root cause: myCapitol was null when calling method getNeighboringLandTerritories ProTechAi.java - new method getMyStrength making sure method getNeighboringLandTerritories is not called with myCapitol == null - fix use of randomness now based on common ThreadLocalRandom * Fix randomness in LanchesterDebugAction LanchesterDebugAction.java - fix use of randomness now based on common ThreadLocalRandom variable for each loop run (also passed to method getRandomUnitType)
- Loading branch information
Showing
2 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters