Fix up copyright notices. SPDX wants only one per file.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index aabd1cb3f5791910b6072100415503213f342c79..4be4b6288297951d89fc836ed3e6babf2f5c4187 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1,8 +1,7 @@
 /*
  * Initialisation
  *
- * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
- * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
+ * SPDX-FileCopyrightText: Copright 1977, 2005 by Will Crowther and Don Woodsm, Copyright 2017 by Eric S. Raymond
  * SPDX-License-Identifier: BSD-2-Clause
  */
 
@@ -46,8 +45,7 @@ int initialise(void)
     int seedval = (int)rand();
     set_seed(seedval);
 
-    assert(NDWARVES == NDWARFLOCS);
-    for (int i = 1; i <= NDWARFLOCS; i++) {
+    for (int i = 1; i <= NDWARVES; i++) {
         game.dwarves[i].loc = dwarflocs[i-1];
     }