projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed automated testing
[open-adventure.git]
/
init.c
diff --git
a/init.c
b/init.c
index d3823db5c33e63e03fb80b61fe53509e70f38065..753135ec42b0a5fe46080de7afcf3602ad16beb1 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-23,9
+23,9
@@
void initialise(void)
for (int i = 1; i <= NLOCATIONS; i++) {
game.abbrev[i] = 0;
for (int i = 1; i <= NLOCATIONS; i++) {
game.abbrev[i] = 0;
- if (!(locations[i].description.big == 0 ||
TKEY
[i] == 0)) {
- int k =
TKEY
[i];
- if (
MOD(labs(TRAVEL[k]), 1000) == 1
)
+ if (!(locations[i].description.big == 0 ||
tkey
[i] == 0)) {
+ int k =
tkey
[i];
+ if (
T_TERMINATE(travel[k])
)
conditions[i] |= (1 << COND_FORCED);
}
game.atloc[i] = 0;
conditions[i] |= (1 << COND_FORCED);
}
game.atloc[i] = 0;