forked from freeciv/freeciv
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a crash when a city is destroyed during TC
The code used city info after it was freed. This minimal patch makes sure that this is not the case. This introduces a break in the WYSIWYG idea when disbanding cities: gold upkeep of disbanded cities will not be paid with GOLD_UPKEEP_MIXED and GOLD_UPKEEP_NATION.
- Loading branch information
Showing
1 changed file
with
12 additions
and
10 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