forked from github/server
report the correct region for drifting ships.
This commit is contained in:
parent
58c310de29
commit
50cdf39245
|
@ -1838,7 +1838,7 @@ static void sail(unit * u, order * ord, bool drifting)
|
||||||
}
|
}
|
||||||
if (storm && rnext != NULL) {
|
if (storm && rnext != NULL) {
|
||||||
ADDMSG(&f->msgs, msg_message("storm", "ship region sink",
|
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);
|
damage_ship(sh, damage_storm);
|
||||||
if (sh->damage >= sh->size * DAMAGE_SCALE) {
|
if (sh->damage >= sh->size * DAMAGE_SCALE) {
|
||||||
|
|
Loading…
Reference in New Issue