(acce, rea, rela, snxtitem): Pass NULL as prompt when the prompt won't
be used.
This commit is contained in:
parent
1b63d30a51
commit
604fe007c0
4 changed files with 4 additions and 4 deletions
|
@ -100,7 +100,7 @@ rea(void)
|
|||
if (player->god && player->argp[1] &&
|
||||
(mineq(player->argp[1], "yes") == ME_MISMATCH) &&
|
||||
(mineq(player->argp[1], "no") == ME_MISMATCH)) {
|
||||
if ((n = natarg(player->argp[1], "")) < 0)
|
||||
if ((n = natarg(player->argp[1], NULL)) < 0)
|
||||
return RET_SYN;
|
||||
num = n;
|
||||
may_delete = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue