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
2019-07-14 21:28:55 -07:00
2018-04-25 15:00:13 -04:00
2019-09-19 12:48:41 -07:00
2019-09-26 11:49:15 -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-13 00:17:23 -04:00
2019-09-30 10:54:03 -04:00
2017-08-21 15:50:36 -07:00
2019-09-30 10:54:03 -04:00
2019-07-08 16:57:52 -07:00
2019-01-13 15:17:40 -08:00
2019-08-30 18:11:43 -07:00
2019-05-12 14:51:26 -04:00
2019-06-15 08:19:32 -07:00
2019-10-08 13:26:39 -07:00
2019-06-04 10:50:24 -07:00
2019-05-10 14:59:03 -04:00
2019-05-05 15:20:09 -07:00
2019-07-06 18:14:30 -07:00
2019-09-23 15:16:39 -07:00
2019-01-04 18:47:00 -08:00
2019-07-14 21:13:43 -07:00
2019-06-22 13:03:50 -07:00
2019-07-07 13:52:24 -07:00
2019-10-05 16:42:13 -07:00
2019-07-02 17:39:23 -07:00
2019-10-08 19:47:51 +03:00
2015-11-08 01:37:55 -08:00
2019-07-09 17:42:32 -07:00
2018-12-10 03:52:00 -08:00
2019-09-14 18:00:39 -07:00
2019-07-14 21:29:41 -07:00
2019-10-08 13:26:39 -07:00
2019-07-13 00:17:23 -04:00
2019-06-08 04:50:40 -07:00
2019-04-22 14:17:18 -04:00
2019-09-14 17:52:02 -07:00
2019-10-08 14:23:27 -07:00
2019-07-02 19:08:50 -07:00
2019-09-02 02:59:09 -07:00
2019-06-10 03:16:52 -07:00
2019-07-10 16:15:11 -07:00
2019-06-20 13:08:47 -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
2018-12-06 22:30:15 -05:00
2019-09-23 15:16:39 -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-02-18 13:17:14 -08:00
2019-08-02 10:42:26 -07:00
2019-09-26 11:49:15 -04:00
2018-12-10 03:52:00 -08:00
2018-12-21 01:14:45 -08:00
2018-11-23 22:16:24 -05:00
2019-07-13 00:17:23 -04:00
2019-10-01 17:47:45 -04:00
2019-10-03 15:45:43 -07: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-10-04 17:28:32 -07:00
2019-07-30 17:24:33 -07:00
2018-12-18 03:13:41 -08:00
2017-09-11 15:59:50 -07:00
2019-07-13 00:17:23 -04:00
2019-06-25 11:02:07 -07:00
2016-05-20 17:01:40 -07:00
2018-11-28 17:43:53 -08: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-01-28 18:37:50 -05:00
2019-07-14 21:10:39 -07:00
2019-10-04 17:53:01 -07:00
2018-07-04 19:26:59 -07:00
2019-06-04 10:50:24 -07:00
2019-04-22 14:17:18 -04:00
2019-09-06 14:27:40 -07:00
2019-01-03 17:37:00 -08:00
2019-10-08 13:26:39 -07:00
2019-06-04 10:50:24 -07:00
2019-05-10 14:59:03 -04:00
2019-10-04 15:16:51 -07:00
2019-08-11 18:56:43 -07:00
2018-10-27 03:45:18 -07:00
2018-04-25 15:00:13 -04:00
2019-09-22 15:03:52 -07:00
2018-11-23 22:17:38 -05:00
2019-09-23 14:19:15 -04:00
2019-09-06 22:09:03 +03:00
2019-05-10 14:59:03 -04:00
2018-11-17 16:40:53 -08:00
2019-06-08 05:58:42 -07:00
2019-02-18 13:17:14 -08:00
2019-06-04 10:50:24 -07:00
2019-07-14 21:28:55 -07:00
2019-06-23 17:27:15 -07:00
2019-06-23 18:48:13 -07:00
2019-02-18 13:17:14 -08:00
2018-03-26 23:04:53 +03:00
2019-06-30 13:45:14 -07:00