(rea): Add brackets to prevent 'else' ambiguity.

This commit is contained in:
Ron Koenderink 2004-12-31 14:12:34 +00:00
parent 12902fe7ee
commit 9b56e4d5a0

View file

@ -205,11 +205,12 @@ rea(void)
}
}
}
if (teles <= 0)
if (teles <= 0) {
if (player->cnum == num)
pr("No %ss for you at the moment...\n", kind);
else
pr("No %ss for %s at the moment...\n", kind, cname(num));
}
(void)fclose(telfp);
if (np->nat_flags & NF_INFORM) {
pr_inform(player, "\n");