]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/enli.c
Update copyright notice
[empserver] / src / lib / commands / enli.c
index ca3a73a4162c82251b774f14539f70a84264236b..4f669dcb53d29be2eb239cb342270b12210f45dd 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 "player.h"
-#include "xy.h"
-#include "sect.h"
-#include "nsc.h"
-#include "nat.h"
-#include "treaty.h"
-#include "file.h"
 #include "commands.h"
+#include "treaty.h"
 
 int
 enli(void)
@@ -135,7 +128,7 @@ enli(void)
        natp->nat_reserve -= totalmil;
        putnat(natp);
     }
-    if ((player->btused += roundavg((float)totalmil * 0.02)) > 0)
+    if ((player->btused += roundavg(totalmil * 0.02)) > 0)
        pr("Paperwork at recruiting stations ... %d\n", player->btused);
     return RET_OK;
 }