Magic-number elimination.
This commit is contained in:
parent
e1a528a4c5
commit
f5ff25f52a
2 changed files with 3 additions and 6 deletions
3
main.c
3
main.c
|
@ -463,8 +463,7 @@ static void describe_location(void)
|
|||
{
|
||||
const char* msg = locations[game.loc].description.small;
|
||||
|
||||
if (MOD(game.abbrev[game.loc], game.abbnum) == 0 ||
|
||||
msg == NO_MESSAGE)
|
||||
if (MOD(game.abbrev[game.loc], game.abbnum) == 0 || msg == NO_MESSAGE)
|
||||
msg = locations[game.loc].description.big;
|
||||
|
||||
if (!FORCED(game.loc) && DARK(game.loc)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue