Project

General

Profile

Actions

Feature #1941

closed

Pass enum req_problem_type to can_city_build_unit_now()

Added by Marko Lindqvist 2 months ago. Updated 4 days ago.

Status:
Closed
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 (1 open1 closed)

Blocked by Feature #1939: Pass enum req_problem_type to can_city_build_improvement_now()ClosedMarko 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 2 months ago

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

Updated by Marko Lindqvist about 2 months ago

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

Updated by Marko Lindqvist about 1 month 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 24 days ago

Marko Lindqvist wrote in #note-4:

req_problem_type still erroneously hardcoded in can_city_build_unit_direct()

Fixed

Actions #6

Updated by Marko Lindqvist 17 days ago

  • Status changed from In Review to In Progress

Freeciv-web build is broken.

Actions #7

Updated by Marko Lindqvist 13 days ago

Marko Lindqvist wrote in #note-6:

Freeciv-web build is broken.

Fixed

Actions #8

Updated by Marko Lindqvist 4 days ago

  • Status changed from In Review to Closed
Actions

Also available in: Atom PDF