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
|
motions: !!omap
|
||||||
- MOT_0:
|
- MOT_0:
|
||||||
words: !!null
|
words: !!null
|
||||||
- MOT_1:
|
- HERE:
|
||||||
words: !!null
|
words: !!null
|
||||||
- MOT_2:
|
- MOT_2:
|
||||||
words: ['road', 'hill']
|
words: ['road', 'hill']
|
||||||
|
|
2
main.c
2
main.c
|
@ -995,7 +995,7 @@ static bool do_command()
|
||||||
rspeak(TAME_BEAR);
|
rspeak(TAME_BEAR);
|
||||||
speak(msg);
|
speak(msg);
|
||||||
if (FORCED(game.loc)) {
|
if (FORCED(game.loc)) {
|
||||||
if (playermove(MOT_1))
|
if (playermove(HERE))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
continue; /* back to top of main interpreter loop */
|
continue; /* back to top of main interpreter loop */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue