From be97da327eec3624cb2cc6e64d2698f8764664af Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Sun, 14 Jan 2007 09:46:30 +0000 Subject: [PATCH] (do_feed): Don't update sp->sct_avail for growing of emergency ration, that's the caller's job. --- src/lib/update/human.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/lib/update/human.c b/src/lib/update/human.c index cf5a788a..a7c53928 100644 --- a/src/lib/update/human.c +++ b/src/lib/update/human.c @@ -78,9 +78,6 @@ do_feed(struct sctstr *sp, struct natstr *np, short *vec, /* need to grow "emergency rations" */ work_avail -= 2 * growfood(sp, vec, work_avail / 2, etu); /* It's twice as hard to grow those than norm */ - bp_put_avail(bp, sp, work_avail); - if (!player->simulation) - sp->sct_avail = work_avail; } if (vec[I_FOOD] < needed && sp->sct_own == sp->sct_oldown) { /* steal food from warehouses, headquarters,