/*
* 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>
* chest's eventual location inside the maze. This loc is saved
* in chloc for ref. The dead end in the other maze has its
* loc stored in chloc2. */
- .dloc[6] = LOC_DEADEND12,
- .chloc = LOC_DEADEND12,
+ .dloc[6] = LOC_MAZEEND12,
+ .chloc = LOC_MAZEEND12,
.chloc2 = LOC_DEADEND13,
.abbnum = 5,
.clock1 = WARNTIME,
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);
}
}
game.tally = game.tally - game.prop[treasure];
}
}
- game.conds = setbit(11);
+ game.conds = setbit(COND_HBASE);
return seedval;
}