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:
cohrs
2002-07-02 04:14:59 +00:00
parent d03f31d83b
commit 2c277e15d1
2 changed files with 2 additions and 1 deletions

View File

@@ -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
monsters that are frozen or sleeping cannot be grateful for untrapping
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

View File

@@ -1998,7 +1998,7 @@ register int held;
}
}
if (cnt && loss)
if (lcnt && loss)
You("owe %ld %s for lost item%s.",
loss, currency(loss), lcnt > 1 ? "s" : "");