Break travel opcodes into a two-element structure.
This commit is contained in:
parent
d53f125555
commit
8560122f01
3 changed files with 35 additions and 14 deletions
2
init.c
2
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(labs(travel[k].opcode), 1000) == 1)
|
||||
conditions[i] |= (1 << COND_FORCED);
|
||||
}
|
||||
game.atloc[i] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue