]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/plague.c
Update copyright notice
[empserver] / src / lib / update / plague.c
index f117588a3acaae25f406607c80d617a8159aef17..f1188f73f79b39f81ac3db3046569f43dbbdaf5e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2008, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
 
 #include <config.h>
 
-#include "misc.h"
-#include "plague.h"
-#include "sect.h"
-#include "nat.h"
 #include "item.h"
+#include "lost.h"
 #include "news.h"
-#include "file.h"
-#include "xy.h"
-#include "optlist.h"
+#include "plague.h"
 #include "update.h"
-#include "common.h"
-#include "subs.h"
-#include "lost.h"
-#include "gen.h"
 
 static int infect_people(struct natstr *, struct sctstr *);
 
@@ -192,7 +183,7 @@ plague_people(struct natstr *np, short *vec,
     }
     if (*ptime <= 0) {
        *pstage -= 1;
-       *ptime = (etus / 2) + (random() % etus);
+       *ptime = etus / 2 + random() % etus;
     }
     return stage;
 }