Files
nethack/src
PatR 3c6303b34e fix #H9266 - redundant obj init
Sword given to angels used obj->spe = max(obj->spe, rn2(4)) [except
using a temporary to sanely work with max() macro].  But the obj was
explicitly created as no-init, so obj->spe was always 0 and the max()
was pointless.  Shield given to angels was manipulating bless/curse
state directly instead of using the functions intended for that, a
no-no and also pointless to be clearing 'cursed' for a no-init item.

Mace for priests had useless handling for object creation failure.

Object creation failure could only happen if the mksobj() call had a
valid entry in objects[] (or out of bounds access that didn't crash)
for an object class that it doesn't know how to handle.  That can't
happen unless somebody screws up big time.  If it ever did happen,
it would have produced a memory leak.
2019-10-08 14:23:27 -07:00
..
2018-11-11 10:29:52 -05:00
2018-09-10 21:13:10 +03:00
2018-04-25 15:00:13 -04:00
2019-03-23 10:50:26 -07:00
2019-10-08 13:26:39 -07:00
2019-05-05 14:48:43 -07:00
2019-07-08 16:57:52 -07:00
2019-05-12 14:51:26 -04:00
2019-10-08 13:26:39 -07:00
2019-05-05 15:20:09 -07:00
2019-01-04 18:47:00 -08:00
2019-07-14 21:13:43 -07:00
2019-10-08 19:47:51 +03:00
2015-11-08 01:37:55 -08:00
2019-10-08 13:26:39 -07:00
2019-06-08 04:50:40 -07:00
2019-09-14 17:52:02 -07:00
2019-10-08 14:23:27 -07:00
2019-06-10 03:16:52 -07:00
2019-07-06 16:18:23 -07:00
2016-05-20 17:01:40 -07:00
2019-10-02 14:58:21 -04:00
2019-10-08 14:23:27 -07:00
2019-02-18 13:24:58 -08:00
2019-05-05 15:20:09 -07:00
2019-01-10 03:10:35 -08:00
2019-10-01 17:47:45 -04:00
2019-10-08 13:26:39 -07:00
2019-07-14 21:15:54 -07:00
2019-10-04 16:12:08 -07:00
2019-07-30 17:24:33 -07:00
2018-12-18 03:13:41 -08:00
2019-06-25 11:02:07 -07:00
2016-05-20 17:01:40 -07:00
2019-07-14 21:10:39 -07:00
2018-11-16 20:51:22 -05:00
2019-07-14 21:10:39 -07:00
2019-01-29 15:00:07 -08:00
2019-07-14 21:10:39 -07:00
2019-10-04 17:53:01 -07:00
2019-10-08 13:26:39 -07:00
2018-04-25 15:00:13 -04:00
2019-09-23 14:19:15 -04:00
2018-11-17 16:40:53 -08:00
2019-06-23 17:27:15 -07:00
2019-06-23 18:48:13 -07:00
2019-06-30 13:45:14 -07:00