Show in inventory which monster a leash is attached to
This commit is contained in:
@@ -282,6 +282,7 @@ when poly'd into a hider and engulfed, attempt to hide via #monster was blocked
|
|||||||
but feedback said "can't hide while held" rather than "while engulfed"
|
but feedback said "can't hide while held" rather than "while engulfed"
|
||||||
various monster/object/food/gold/trap detections were inconsistent in how they
|
various monster/object/food/gold/trap detections were inconsistent in how they
|
||||||
behaved if performed while engulfed or underwater
|
behaved if performed while engulfed or underwater
|
||||||
|
show in inventory which monster a leash is attached to
|
||||||
|
|
||||||
|
|
||||||
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
Fixes to Post-3.6.0 Problems that Were Exposed Via git Repository
|
||||||
|
|||||||
+2
-1
@@ -908,7 +908,8 @@ boolean with_price;
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (obj->otyp == LEASH && obj->leashmon != 0) {
|
if (obj->otyp == LEASH && obj->leashmon != 0) {
|
||||||
Strcat(bp, " (in use)");
|
Sprintf(eos(bp), " (attached to %s)",
|
||||||
|
a_monnam(find_mid(obj->leashmon, FM_FMON)));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (obj->otyp == CANDELABRUM_OF_INVOCATION) {
|
if (obj->otyp == CANDELABRUM_OF_INVOCATION) {
|
||||||
|
|||||||
Reference in New Issue
Block a user