fix #2236 - bag of holding weight
From a bug report, the weight of a non-cursed bag
of holding would be off by 1 when the weight of contents was a multiple
of 2 (for uncursed) or of 4 (for blessed), since the round off handling
added 1 when it shouldn't in those cases. Mainly noticeable when empty;
the extra 1 unit made it be twice as heavy as it should have been.
Probably never noticed in actual play. He has implemented a patch
which shows weights as part of an object's formatted description, making
this stand out. Supposedly the Vulture's Eye interface also added a
patch like that a farily long time ago; I wonder why nobody using it ever
noticed. (Maybe the weight was suppressed for bags of holding there?)
This commit is contained in:
@@ -401,6 +401,7 @@ some actions taken when blind would yield "Wait! That's a monster!" (for a
|
||||
when polymorphed into an opposite sex monster, if you then become a new
|
||||
human while failing to polymorph into something else, you'd be told
|
||||
"you feel like a new man" for female or "a new woman" for male
|
||||
the weight of a non-cursed bag of holding was sometimes off by 1 unit
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
Reference in New Issue
Block a user