projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
After splitting out the stop field, nothing ever negates a travel opcode...
[open-adventure.git]
/
init.c
diff --git
a/init.c
b/init.c
index 66ef59e2a0d0e846d19d4fff12e11ba275c4b312..dc70279426f396fe987689a01d7e7e6a33c0ef20 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-25,7
+25,7
@@
void initialise(void)
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 (MOD(
travel[k].opcode
, 1000) == 1)
conditions[i] |= (1 << COND_FORCED);
}
game.atloc[i] = 0;