]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/newe.c
Update copyright notice
[empserver] / src / lib / commands / newe.c
index 0ebd816cc48f72acee6beabc4c9e27964ba9ff80..2f981365effd0b904629970429807eddbd3b9833 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-2018, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *
  *  Empire is free software: you can redistribute it and/or modify
@@ -36,6 +36,7 @@
 #include "commands.h"
 #include "item.h"
 #include "optlist.h"
+#include "update.h"
 
 int
 newe(void)
@@ -55,7 +56,7 @@ newe(void)
            continue;
        if (!sect.sct_off) {
            natp = getnatp(sect.sct_own);
-           sect.sct_avail = do_feed(&sect, natp, etu_per_update, 1);
+           do_feed(&sect, natp, etu_per_update, 1);
            buildeff(&sect);
        }
        if (nsect++ == 0) {