Files
nethack/include
PatR b2d4b77d3a fix pull request #636 - the("Capitalized Monster")
Function the() wasn't supposed to be used for monsters because many
of the ones with capitalized names confuse it, but over time multiple
instances of the(mon_nam()) have crept into the code.  Instead of
ripping those out, modify the() to handle that situation better.

Pull request #636 by entrez dealt with this with one extra line of
code, but could end up scanning all the names in mons[] repeatedly
if the("Capitalized string") gets called a lot.  This uses a similar
one line fix but calls a whole new routine that scans through mons[]
once collecting all the relevant special case names.  As a bonus,
it does the same for hallucinatory monster names which name_to_mon()
couldn't handle.

Fixes #626
2021-11-24 00:24:56 -08:00
..
2021-01-03 13:37:25 -06:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2021-02-08 00:11:07 -05:00
2021-10-28 12:55:32 -07:00
2021-10-24 18:04:57 -04:00
2021-10-11 13:36:10 -04:00
2021-01-26 21:06:16 -05:00
2021-09-18 19:51:04 -04:00
2019-01-28 10:02:08 +01:00
2021-01-20 22:18:34 -06:00
2020-12-04 09:30:21 +02:00
2021-07-23 10:41:57 -07:00
2021-10-09 10:54:47 -07:00
2021-01-26 21:06:16 -05:00
2021-10-15 15:43:23 -07:00
2021-09-18 19:51:04 -04:00
2020-08-12 16:15:28 -07:00
2021-01-31 14:15:08 -05:00
2021-03-14 15:12:46 -07:00
2021-10-21 08:48:23 -04:00
2021-03-13 18:18:53 -08:00
2021-09-18 19:51:04 -04:00
2021-09-20 09:32:40 -04:00
2021-09-18 19:51:04 -04:00
2021-01-26 10:27:51 -05:00