(bdes): Prompt was messed up when bmap contained designation 0.
This commit is contained in:
parent
8cc53c1c2b
commit
be1147e7f0
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ bdes(void)
|
|||
continue;
|
||||
d = player->map[sctoff(nstr.x, nstr.y)];
|
||||
sprintf(prompt, "%s '%c' desig? ",
|
||||
xyas(nstr.x, nstr.y, player->cnum), d);
|
||||
xyas(nstr.x, nstr.y, player->cnum),
|
||||
d ? d : ' ');
|
||||
if ((p = getstarg(player->argp[2], prompt, buf)) == 0)
|
||||
continue;
|
||||
if (!isprint(*p)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue