Project

General

Profile

Feature #2237 ยป 0071-adv_unit_execute_path-Use-unit_is_alive.patch

Marko Lindqvist, 09/27/2026 08:34 PM

View differences:

server/advisors/advgoto.c
} else {
(void) adv_unit_move(punit, ptile);
}
if (!game_unit_by_number(id)) {
if (!unit_is_alive(id)) {
/* Died... */
return FALSE;
}
    (1-1/1)