Magic-number elimination.
This commit is contained in:
parent
d6dab20801
commit
39a25f8ec7
2 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@
|
|||
motions: !!omap
|
||||
- MOT_0:
|
||||
words: !!null
|
||||
- MOT_1:
|
||||
- HERE:
|
||||
words: !!null
|
||||
- MOT_2:
|
||||
words: ['road', 'hill']
|
||||
|
|
2
main.c
2
main.c
|
@ -995,7 +995,7 @@ static bool do_command()
|
|||
rspeak(TAME_BEAR);
|
||||
speak(msg);
|
||||
if (FORCED(game.loc)) {
|
||||
if (playermove(MOT_1))
|
||||
if (playermove(HERE))
|
||||
return true;
|
||||
else
|
||||
continue; /* back to top of main interpreter loop */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue