object formatting fix for charged rings
The bounds checking code for object formatting had a typo that left out the space between +N and <ring of type>.
This commit is contained in:
+1
-1
@@ -1442,7 +1442,7 @@ doname_base(
|
|||||||
if (obj->owornmask & W_RING) /* either left or right */
|
if (obj->owornmask & W_RING) /* either left or right */
|
||||||
ConcatF1(bp, 0,"%s)", body_part(HAND));
|
ConcatF1(bp, 0,"%s)", body_part(HAND));
|
||||||
if (known && objects[obj->otyp].oc_charged) {
|
if (known && objects[obj->otyp].oc_charged) {
|
||||||
Sprintf(prefix, "%+d", obj->spe); /* sitoa(obj->spe)+" " */
|
Sprintf(prefix, "%+d ", obj->spe); /* sitoa(obj->spe)+" " */
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case FOOD_CLASS:
|
case FOOD_CLASS:
|
||||||
|
|||||||
Reference in New Issue
Block a user