]> git.pond.sub.org Git - empserver/blobdiff - src/lib/subs/rej.c
COPYING duplicates information from README. Remove. Move GPL from
[empserver] / src / lib / subs / rej.c
index 94472b68b4255a31a42533891dd4cfa6cca3c9f4..f2702972a5d07a448e5a8b6bc83b98377087d0ce 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1986-2000, 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.
  *
  *  ---
  *
@@ -31,6 +31,8 @@
  *     Dave Pare, 1994
  */
 
+#include <config.h>
+
 #include "misc.h"
 #include "nat.h"
 #include "file.h"
@@ -38,9 +40,7 @@
 #include "player.h"
 #include "prototypes.h"
 #include "optlist.h"
-
-extern s_char *relates[];
-extern int update_pending;
+#include "server.h"
 
 int
 setrel(natid us, natid them, int rel)
@@ -55,7 +55,6 @@ setrel(natid us, natid them, int rel)
     int n_down = 0;
     s_char *addendum = 0;
     int theirrel;
-    extern int War_Cost;
 
     if (rel < AT_WAR)
        rel = AT_WAR;
@@ -140,6 +139,8 @@ setrel(natid us, natid them, int rel)
        else
            nreport(us, n_down, them, 1);
     }
+    if (opt_HIDDEN)
+       setcont(them, us, FOUND_TELE);
 
     return RET_OK;
 }