Project

General

Profile

Actions

Feature #1941

open

Pass enum req_problem_type to can_city_build_unit_now()

Added by Marko Lindqvist about 1 month ago. Updated 2 days ago.

Status:
In Review
Priority:
Normal
Category:
General
Target version:
Start date:
02/11/2026
Due date:
% Done:

0%

Estimated time:

Description

Pass enum req_problem_type to can_city_build_unit_now() and all relevant functions that it calls. No functional changes in this patch - all callers pass RPT_CERTAIN that is the old hardcoded value.


Files


Related issues 2 (2 open0 closed)

Blocked by Feature #1939: Pass enum req_problem_type to can_city_build_improvement_now()In ReviewMarko Lindqvist02/08/2026

Actions
Blocks Feature #1945: Pass enum req_problem_type to can_city_build_now()In ReviewMarko Lindqvist02/19/2026

Actions
Actions #1

Updated by Marko Lindqvist about 1 month ago

  • Blocked by Feature #1939: Pass enum req_problem_type to can_city_build_improvement_now() added
Actions #3

Updated by Marko Lindqvist about 1 month ago

  • Blocks Feature #1945: Pass enum req_problem_type to can_city_build_now() added
Actions #4

Updated by Marko Lindqvist 16 days ago

  • Status changed from In Review to In Progress

req_problem_type still erroneously hardcoded in can_city_build_unit_direct()

Actions #5

Updated by Marko Lindqvist 2 days ago

Marko Lindqvist wrote in #note-4:

req_problem_type still erroneously hardcoded in can_city_build_unit_direct()

Fixed

Actions

Also available in: Atom PDF