Magic-number elimination.

This commit is contained in:
Eric S. Raymond 2022-04-19 17:07:46 -04:00
parent 00c2182d9b
commit 67a887f432
3 changed files with 2 additions and 9 deletions

2
init.c
View file

@ -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);
}
}