forked from github/server
ZERSTOERE Schiffe evtl. auch richtig? Best effort.
This commit is contained in:
parent
f64020157c
commit
75a71c36aa
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue