Balance:
- Promises not to declare war now extend to all teammates
- Restricted the "Acceptable" range of deals to [deal value minus 1/2 the value of 1 GPT, deal value plus 1/2 the value of 1 GPT]
(implementing https://forums.civfanatics.com/threads/9-a-reduce-acceptable-range-to-deal-value-%C2%B1-1-2-the-value-of-1-gpt.701727/)
Bugfixes:
- Fixed CTD when a city-state is captured while the AI is sending a diplomat to it (message "eMinorCivNum > -1")
- Fixed multiplayer desyncs when razing a city
- Fixed another bug in internal resource counting (hopefully the last one)
[Note: This fix doesn't apply to existing save games. If you encounter error messages like "NumResourceFromTiles >= 0" or "Resource Mismatch", please report them only if you've started the game on 5.1.2]
- Fixed AI sometimes offering "Impossible" peace deals
- Fixed free buildings from policies not being given retroactively if the required tech is acquired after adopting the policy
(affected for instance the free culture buildings from the Tradition policy in Community Patch)
- Fixed possible deadlock with blocked promotions (affected for instance the Jarl in Hokath's Sweden rework)
- Fixed pathfinder UI using unrevealed routes
- Fixed City Range Strike Mode UI bug when using a modpack that includes Squads
- Fixed broken Civilopedia navigation links for Unique National Wonders
- Turned off assert message "getUnitCombatProductionModifier >= 0" (this value is intentionally negative in some modmods)
- Text fixes
Other/Modmodding:
- Added define HURRY_GOLD_BUILDING_COST_PERCENT (default value 60), defining the percentage of the production cost that is used to calculate buildings investment costs
- Improved debug build configurations