]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/hard.c
Update copyright notice
[empserver] / src / lib / commands / hard.c
index da69a5477c47b0f5d698ce844dee6fda4d2bf481..8dbb8a65bcdc5061f395d66ee6c97823ab97b2c9 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 "sect.h"
+#include "commands.h"
 #include "item.h"
 #include "plane.h"
 #include "ship.h"
-#include "xy.h"
-#include "nsc.h"
-#include "nat.h"
-#include "file.h"
-#include "commands.h"
 
 /*
  * harden <PLANE> <LEVEL>
@@ -110,7 +103,7 @@ hard(void)
        if (hcm <= n)
            n = hcm;
        pln.pln_harden += n;
-       player->dolcost += (5.0 * n);
+       player->dolcost += 5.0 * n;
        putplane(pln.pln_uid, &pln);
        sect.sct_item[I_HCM] = hcm - n;
        putsect(&sect);