Project

General

Profile

Actions

Bug #1564

open

Correct airlift enabled checking

Added by Alexandr Ignatiev about 19 hours ago. Updated about 9 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
client-common
Target version:
Start date:
07/04/2025
Due date:
% Done:

0%

Estimated time:

Description

When considering (with limited knowledge) the possibility of airlifting from/to foreign city, the functions action_hard_reqs_actor in actions.c and test_unit_can_airlift_to in unit.c return uncertain results due to unknown airlift counter even if airlift_from/to_always_enabled is set. This has actually few effect since client allows maybe-possible actions.

Headscratches note: how does it check presence of non-mutual ally units in a foreign city? I tested it in v.3.1 and the unit stays in source city without any note, so some check is performed but idk where, seems like definitely not in do_airlime.

Actions #1

Updated by Alexandr Ignatiev about 9 hours ago

  • Description updated (diff)
Actions

Also available in: Atom PDF