Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Bug #874394 ยป 0002-dai_unit_move-add-missing-else-statement.patch

Sveinung Kvilhaugsvik, 2020-05-20 10:29 AM

View differences:

ai/default/aitools.c
/* "Transport Disembark". */
unit_do_action(unit_owner(punit), punit->id, tile_index(ptile),
0, "", ACTION_TRANSPORT_DISEMBARK1);
} if (is_action_enabled_unit_on_tile(ACTION_TRANSPORT_DISEMBARK2,
punit, ptile, NULL)) {
} else if (is_action_enabled_unit_on_tile(ACTION_TRANSPORT_DISEMBARK2,
punit, ptile, NULL)) {
/* "Transport Disembark 2". */
unit_do_action(unit_owner(punit), punit->id, tile_index(ptile),
0, "", ACTION_TRANSPORT_DISEMBARK2);
    (1-1/1)