Simplify SPDX copyright lines to the shortest canonical form...
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index aabd1cb3f5791910b6072100415503213f342c79..a620b2ca2aaa73603410f41f314a8036d3bbfdf0 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: (C) 1977, 2005 by Will Crowther and Don Woodsm
  * 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];
     }