projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Magic-number elimination.
[open-adventure.git]
/
main.c
diff --git
a/main.c
b/main.c
index 9fc8fa97ad827e24e15511e2fbcf621acbab1f8b..db804060408f4263907d2f47cb7c2deda8e19c1d 100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-983,7
+983,8
@@
static bool do_command(FILE *cmdin)
else
continue; /* back to top of main interpreter loop */
}
- if (game.loc == 33 && PCT(25) && !game.closng)RSPEAK(SAYS_PLUGH);
+ if (game.loc == LOC_Y2 && PCT(25) && !game.closng)
+ RSPEAK(SAYS_PLUGH);
listobjects();