update: Drop dead check for land unit destroyed by starvation
Starving military don't damage their land unit since 4.0.0. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
c87044dd8b
commit
e15e7f6bf8
1 changed files with 1 additions and 3 deletions
|
@ -146,9 +146,7 @@ upd_land(struct lndstr *lp, int etus, struct bp *bp, int build)
|
||||||
if (!player->simulation) {
|
if (!player->simulation) {
|
||||||
/* feed */
|
/* feed */
|
||||||
if ((n = feed_land(lp, etus)) > 0) {
|
if ((n = feed_land(lp, etus)) > 0) {
|
||||||
wu(0, lp->lnd_own, "%d starved in %s%s\n",
|
wu(0, lp->lnd_own, "%d starved in %s\n", n, prland(lp));
|
||||||
n, prland(lp),
|
|
||||||
(lp->lnd_effic < LAND_MINEFF ? ", killing it" : ""));
|
|
||||||
if (n > 10)
|
if (n > 10)
|
||||||
nreport(lp->lnd_own, N_DIE_FAMINE, 0, 1);
|
nreport(lp->lnd_own, N_DIE_FAMINE, 0, 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue