Actions
Bug #2040
opencity_turns_to_grow() gives wrong output sometimes
Start date:
05/22/2026
Due date:
% Done:
0%
Estimated time:
Description
When the food box is full or overfull, and the food surplus is 0, city dlog says "change in: never".
When the food box is full or overfull, and the food surplus is >0, city dlog says "change in: blocked".
In both cases the city will grow on the next turn, should say "change in: 1 turn".
This can happen when a city shrinks due to a disaster and the food box size shrinks.
Files
Updated by Dean Brown 24 days ago
- File 2040_Main.patch 2040_Main.patch added
- File 2040.patch added
Take 2, forgot to account for blocked by needing improvement.
Updated by Marko Lindqvist 1 day ago
- Status changed from New to In Review
- Assignee set to Marko Lindqvist
- Target version set to 3.2.6
Actions