Fix regular potion short names
parent
89b5ea6db0
commit
a0bb16ab50
|
@ -580,6 +580,8 @@ void query_short_name(const object *op, char *buf, size_t size) {
|
|||
case WAND:
|
||||
case ROD:
|
||||
case POTION:
|
||||
if (op->type == POTION && op->subtype != POT_THROW)
|
||||
break;
|
||||
if (QUERY_FLAG(op, FLAG_IDENTIFIED)||QUERY_FLAG(op, FLAG_BEEN_APPLIED)) {
|
||||
if (!op->title) {
|
||||
safe_strcat(buf, " of ", &len, size);
|
||||
|
|
Loading…
Reference in New Issue