Magic-number elimination.

This commit is contained in:
Eric S. Raymond 2023-04-06 10:03:24 -04:00
parent e1a528a4c5
commit f5ff25f52a
2 changed files with 3 additions and 6 deletions

3
main.c
View file

@ -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)) {