R975 - message for charging for items lost in a cursed magic bag
The loss message was not always printed due to testing the wrong variable before printing the message.
This commit is contained in:
@@ -134,6 +134,7 @@ allow #untrapping of chests that are co-located with floor traps and hero
|
|||||||
unmap "I" symbols when searching while blind and levitating
|
unmap "I" symbols when searching while blind and levitating
|
||||||
monsters that are frozen or sleeping cannot be grateful for untrapping
|
monsters that are frozen or sleeping cannot be grateful for untrapping
|
||||||
grammar of blessed-detection eating warning messages when eating 1 of N objects
|
grammar of blessed-detection eating warning messages when eating 1 of N objects
|
||||||
|
message for charging for items lost in a cursed magic bag wasn't always shown
|
||||||
|
|
||||||
|
|
||||||
Platform- and/or Interface-Specific Fixes
|
Platform- and/or Interface-Specific Fixes
|
||||||
|
|||||||
@@ -1998,7 +1998,7 @@ register int held;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cnt && loss)
|
if (lcnt && loss)
|
||||||
You("owe %ld %s for lost item%s.",
|
You("owe %ld %s for lost item%s.",
|
||||||
loss, currency(loss), lcnt > 1 ? "s" : "");
|
loss, currency(loss), lcnt > 1 ? "s" : "");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user