]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/human.c
Update copyright notice
[empserver] / src / lib / update / human.c
index b7b3403a5be609bfc34960d791a4b49735841b79..a22d373e5c2db0922b1522ca02dde36218f75399 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2016, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
 #include <math.h>
 #include "chance.h"
 #include "item.h"
+#include "optlist.h"
+#include "nat.h"
 #include "news.h"
 #include "player.h"
+#include "prototypes.h"
+#include "sect.h"
 #include "update.h"
 #include "xy.h"
 
@@ -69,7 +73,8 @@ do_feed(struct sctstr *sp, struct natstr *np, int etu,
                                     sp->sct_item[I_MILIT],
                                     sp->sct_item[I_UW],
                                     maxworkers));
-    if (sp->sct_type != SCT_SANCT) {
+
+    if (sp->sct_type != SCT_WATER && sp->sct_type != SCT_SANCT) {
        manna = 0;
        if (opt_NOFOOD == 0) {
            needed = (int)ceil(food_needed(sp->sct_item, etu));