report the correct region for drifting ships.
This commit is contained in:
Enno Rehling 2021-03-28 18:58:09 +02:00
parent 58c310de29
commit 50cdf39245
1 changed files with 1 additions and 1 deletions

View File

@ -1838,7 +1838,7 @@ static void sail(unit * u, order * ord, bool drifting)
}
if (storm && rnext != NULL) {
ADDMSG(&f->msgs, msg_message("storm", "ship region sink",
sh, current_point, sh->damage >= sh->size * DAMAGE_SCALE));
sh, next_point, sh->damage >= sh->size * DAMAGE_SCALE));
damage_ship(sh, damage_storm);
if (sh->damage >= sh->size * DAMAGE_SCALE) {