]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/add.c
Update copyright notice.
[empserver] / src / lib / commands / add.c
index ea6d0926ec34cbfe4e9f7525b2fc00a8bef6cdf8..eba63769933fd5569e9409cf960183492d533cc6 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-2004, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                           Ken Stevens, Steve McClure
  *
  *  This program is free software; you can redistribute it and/or modify
@@ -230,7 +230,7 @@ add(void)
     } else
        pr("No special initializations done...\n");
 
-    for (i = 0; i < SCT_MAXDEF + 8; i++)
+    for (i = 0; i <= PRI_MAX; i++)
        natp->nat_priorities[i] = -1;
     natp->nat_flags =
        NF_FLASH | NF_BEEP | NF_COASTWATCH | NF_SONAR | NF_TECHLISTS;