Partial REUSE cmpliance.
[open-adventure.git] / init.c
diff --git a/init.c b/init.c
index a897936813ae9cab66db2ec3e2223bda52002a98..dbdfb11f9bed3b397c6b8254f60fe7f134034d67 100644 (file)
--- a/init.c
+++ b/init.c
@@ -1,9 +1,9 @@
 /*
  * Initialisation
  *
- * Copyright (c) 1977, 2005 by Will Crowther and Don Woods
- * Copyright (c) 2017 by Eric S. Raymond
- * SPDX-License-Identifier: BSD-2-clause
+ * SPDX-FileCopyrightText: 1977, 2005 by Will Crowther and Don Woods
+ * SPDX-FileCopyrightText: 2017 by Eric S. Raymond
+ * SPDX-License-Identifier: BSD-2-Clause
  */
 
 #include <unistd.h>
@@ -60,7 +60,7 @@ int initialise(void)
         if (!(locations[i].description.big == 0 ||
               tkey[i] == 0)) {
             int k = tkey[i];
-            if (T_TERMINATE(travel[k]))
+            if (travel[k].motion == HERE)
                 conditions[i] |= (1 << COND_FORCED);
         }
     }
@@ -95,7 +95,7 @@ int initialise(void)
             game.tally = game.tally - game.prop[treasure];
         }
     }
-    game.conds = setbit(11);
+    game.conds = setbit(COND_HBASE);
 
     return seedval;
 }