(rea): Add brackets to prevent 'else' ambiguity.
This commit is contained in:
parent
12902fe7ee
commit
9b56e4d5a0
1 changed files with 2 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue