menu loot follow-up bit
This commit is contained in:
@@ -2014,6 +2014,10 @@ register int held;
|
|||||||
char menuprompt[QBUFSZ];
|
char menuprompt[QBUFSZ];
|
||||||
boolean outokay = (cnt != 0);
|
boolean outokay = (cnt != 0);
|
||||||
boolean inokay = (invent != 0);
|
boolean inokay = (invent != 0);
|
||||||
|
if (!outokay && !inokay) {
|
||||||
|
pline("%s You don't have anything to put in.", emptymsg);
|
||||||
|
return used;
|
||||||
|
}
|
||||||
menuprompt[0] = '\0';
|
menuprompt[0] = '\0';
|
||||||
if (!cnt) Sprintf(menuprompt, "%s ", emptymsg);
|
if (!cnt) Sprintf(menuprompt, "%s ", emptymsg);
|
||||||
Strcat(menuprompt, "Do what?");
|
Strcat(menuprompt, "Do what?");
|
||||||
|
|||||||
Reference in New Issue
Block a user