Files
nethack/doc
PatR 90aded3648 weight of gold
I had wizweight On when testing glob changes and noticed
|Slasher drops a gold piece (0 aum).

Coins are supposed to weigh 1/100 of a unit, and the calculation
rounds rather than simply truncates any fraction, but that still
yielded 0 for quantities of 1..49.  Force any non-zero stack of
gold to weigh at least 1 unit.

Also, add a check for attempting to weigh a quantity 0 or less
(of anything, not only for gold) just in case.
2021-11-07 13:27:44 -08:00
..
2018-11-11 10:29:52 -05:00
2020-02-15 13:08:34 -08:00
2018-04-25 16:54:50 -04:00
2018-09-21 16:36:38 -04:00
2018-09-21 18:12:42 -07:00
2018-09-21 18:12:42 -07:00
2018-04-25 16:54:50 -04:00
2018-09-21 18:12:42 -07:00
2018-09-21 18:12:42 -07:00
2018-09-21 18:12:42 -07:00
2003-05-11 13:40:01 +00:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2020-11-28 08:59:03 -05:00
2019-05-09 17:15:14 -07:00
2020-11-28 08:59:03 -05:00
2020-01-27 18:11:43 -05:00
2021-11-07 13:27:44 -08:00
2016-06-19 19:52:28 -04:00
2020-02-15 14:42:00 -08:00
2021-01-03 13:37:25 -06:00
2018-11-11 10:29:52 -05:00
2018-11-11 10:29:52 -05:00
2020-01-19 23:09:53 -05:00
2021-01-30 12:28:23 -05:00
2018-04-25 16:54:50 -04:00
2018-09-20 18:02:48 -04:00