nhmall
690e072a49
is_elf(), is_dwarf(), is_gnome(), is_orc(), is_human()
...
Those tests were only checking the permonst mflags2 field
so anytime those tests were used in the code, they came
up false for things like an elven ranger. An elven ranger
should return true for an is_elf() test, as an example.
That happens because the profession monsters in monst.c
are defined with M2_HUMAN.
This augments those is_*() race tests to also check for a
matching player race as well.
2020-02-06 12:09:24 -05:00
..
2018-11-11 10:29:52 -05:00
2019-11-27 09:53:40 -08:00
2019-11-06 18:43:20 +02:00
2015-05-25 09:21:31 +09:00
2018-04-25 15:00:13 -04:00
2019-11-22 22:35:48 -05:00
2018-12-25 16:26:27 -08:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:15 +09:00
2019-07-03 14:06:53 -07:00
2015-10-17 13:15:46 +03:00
2019-04-19 12:42:35 -07:00
2020-01-29 09:56:43 -05:00
2020-01-30 17:35:32 -08:00
2018-04-25 15:00:13 -04:00
2020-02-01 15:44:42 -08:00
2015-05-25 09:21:31 +09:00
2019-11-06 18:45:10 +02:00
2019-10-02 13:02:22 -04:00
2019-05-12 14:51:26 -04:00
2020-02-01 18:31:39 +02:00
2018-04-25 15:00:13 -04:00
2020-02-02 22:54:44 -05:00
2020-01-30 17:35:32 -08:00
2020-01-29 10:29:37 -05:00
2018-12-15 19:31:42 -05:00
2015-05-25 09:21:15 +09:00
2020-01-14 11:35:06 -05:00
2020-02-01 15:44:42 -08:00
2019-03-06 11:37:52 -08:00
2019-01-28 10:02:08 +01:00
2018-04-25 16:54:50 -04:00
2015-05-25 09:21:15 +09:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2018-04-25 15:00:13 -04:00
2015-10-17 13:15:46 +03:00
2019-05-11 11:10:00 +03:00
2019-12-22 18:28:24 -05:00
2018-04-25 16:54:50 -04:00
2019-11-27 01:27:11 -05:00
2018-04-25 15:00:13 -04:00
2018-12-25 09:34:24 -08:00
2019-06-18 21:50:51 -04:00
2015-05-25 09:21:31 +09:00
2020-02-06 12:09:24 -05:00
2018-12-24 16:43:50 -08:00
2019-11-27 20:18:45 -05:00
2019-01-13 17:19:39 -08:00
2015-05-25 09:21:31 +09:00
2019-12-04 17:13:01 -05:00
2020-01-26 02:58:18 -08:00
2020-01-12 22:02:36 -08:00
2019-01-28 10:02:09 +01:00
2020-01-30 18:28:55 -08:00
2019-11-02 22:53:46 -04:00
2018-10-21 08:45:55 -04:00
2019-10-08 13:26:39 -07:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2015-10-17 18:47:31 +03:00
2020-01-26 12:23:50 -08:00
2019-01-11 17:18:48 -08:00
2020-01-30 17:35:32 -08:00
2018-12-24 16:43:50 -08:00
2019-12-18 07:38:59 -05:00
2019-11-29 17:40:58 -05:00
2018-04-25 15:00:13 -04:00
2018-04-25 16:54:50 -04:00
2020-01-27 09:54:58 +02:00
2019-07-27 16:12:24 -07:00
2018-04-25 15:00:13 -04:00
2019-04-15 13:48:27 -07:00
2015-06-08 19:37:26 -04:00
2019-01-12 01:09:17 -05:00
2019-07-14 23:36:56 -07:00
2019-06-08 09:38:27 -04:00
2020-01-20 21:33:20 -05:00
2019-01-28 10:02:09 +01:00
2015-05-25 09:21:31 +09:00
2019-12-23 08:53:58 -05:00
2019-12-22 18:28:24 -05:00
2015-05-25 09:21:31 +09:00
2019-12-22 18:28:24 -05:00
2019-12-23 08:36:44 -05:00
2019-12-23 08:36:44 -05:00
2019-12-23 16:45:25 +02:00
2015-05-25 09:21:31 +09:00
2015-05-25 09:21:31 +09:00
2019-11-24 18:29:14 -08:00
2020-01-21 17:03:54 -08:00