]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/human.c
Don't use automatic supply to avoid starvation at the update
[empserver] / src / lib / update / human.c
index f4236e34fb548b403e5dc495e6f3596f4b2afd02..18a1e68e1419f2c9d6f24122dfa55c938436d227 100644 (file)
@@ -84,13 +84,6 @@ do_feed(struct sctstr *sp, struct natstr *np, short *vec,
                    /* Conjure up 1f to make life easier for the player */
                    manna = vec[I_FOOD] = 1;
            }
-           if (vec[I_FOOD] < needed && sp->sct_own == sp->sct_oldown) {
-               /* steal food from warehouses, headquarters,
-                  supply ships in port, or supply units */
-               vec[I_FOOD] = supply_commod(sp->sct_own,
-                                           sp->sct_x, sp->sct_y,
-                                           I_FOOD, needed);
-           }
        }
        starved = feed_people(vec, etu);
        if (starved > 0) {