]> git.pond.sub.org Git - empserver/blobdiff - src/lib/common/path.c
COPYING duplicates information from README. Remove. Move GPL from
[empserver] / src / lib / common / path.c
index a1317fad97632d9055b9271dcb8f0d4479666eac..351759e070a1923dc3469354089c5d89ac6447dd 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2005, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1986-2006, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
@@ -35,6 +35,8 @@
  *     Steve McClure, 1997
  */
 
+#include <config.h>
+
 #include <stdio.h>
 #include <stdlib.h>
 #include "../as/as.h"
@@ -271,8 +273,8 @@ bp_realcost(struct as_coord from, struct as_coord to, s_char *pp)
 static double
 bp_seccost(struct as_coord from, struct as_coord to, s_char *pp)
 {
-    return ((double)mapdist((coord)from.x, (coord)from.y,
-                           (coord)to.x, (coord)to.y));
+    return (double)mapdist((coord)from.x, (coord)from.y,
+                          (coord)to.x, (coord)to.y);
 }
 
 /*