ZERSTOERE Schiffe evtl. auch richtig? Best effort.

This commit is contained in:
Enno Rehling 2019-10-22 18:46:00 +02:00
parent f64020157c
commit 75a71c36aa
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ int destroy_cmd(unit * u, struct order *ord)
} }
else { else {
/* partial destroy */ /* partial destroy */
sh->size -= (sh->type->construction->maxsize * n) / 100; sh->size -= (ship_maxsize(sh) * n) / 100;
ADDMSG(&u->faction->msgs, msg_message("shipdestroy_partial", ADDMSG(&u->faction->msgs, msg_message("shipdestroy_partial",
"unit region ship", u, r, sh)); "unit region ship", u, r, sh));
} }