[freeciv/freeciv] eecd32: Pass enum req_problem_type to can_city_build_unit_...

freeciv-commits <[email protected]> Fri, 10 Apr 2026 14:18:44 -0700
Newsgroups gmane.games.freeciv.devel
Message-ID <freeciv/freeciv/push/refs/heads/main/[email protected]>
  Branch: refs/heads/main
  Home:   https://github.com/freeciv/freeciv
  Commit: eecd32c823f2422c7b84388f487eeb6692e24dbf
      https://github.com/freeciv/freeciv/commit/eecd32c823f2422c7b84388f487eeb6692e24dbf
  Author: Marko Lindqvist <[email protected]>
  Date:   2026-04-11 (Sat, 11 Apr 2026)

  Changed paths:
    M ai/default/daiair.c
    M ai/default/daicity.c
    M ai/default/daihunter.c
    M ai/default/daimilitary.c
    M ai/default/daiparadrop.c
    M ai/default/daitech.c
    M ai/default/daiunit.c
    M ai/tex/texaicity.c
    M client/climisc.c
    M client/gui-qt/menu.cpp
    M client/gui-sdl2/wldlg.c
    M client/gui-sdl3/wldlg.c
    M client/mapctrl_common.c
    M common/aicore/aisupport.c
    M common/city.c
    M common/city.h
    M common/improvement.c
    M common/scriptcore/api_game_methods.c
    M common/unittype.c
    M common/unittype.h
    M server/advisors/advdata.c
    M server/citytools.c
    M server/cityturn.c
    M server/techtools.c
    M server/unittools.c

  Log Message:
  -----------
  Pass enum req_problem_type to can_city_build_unit_now()

No functional changes - all callers still pass RPT_CERTAIN.

See RM #1941

Signed-off-by: Marko Lindqvist <[email protected]>



To unsubscribe from these emails, change your notification settings at https://github.com/freeciv/freeciv/settings/notifications