Files
nethack/src
PatR 27f9a83a0b mons[0]
Alex mentioned that loops over mons[] were starting at [0], which
should be [LOW_PM] instead.  I only found two, and the mvitals[] one
was benign.  The special level one might have been too, depending
upon spec_lev's thoroughness--I didn't attempt to check.

Once upon a time there was a possibility of moving 'playermon' from
a separate variable to mons[0], so LOW_PM became the index of the
first valid monster.  Instead, 'playermon' went away altogether.
LOW_PM (and NON_PM) could go away too, but I don't see how reverting
to hardcoded 0 and -1 would be an improvement.  We have enough
problems as it is with "giant ant" turning up in unexpected places
because someone used 0 instead of NON_PM to mean "none of the above".
2017-07-16 15:28:44 -07:00
..
2017-07-16 15:28:44 -07:00
2016-02-01 17:28:52 -08:00
2017-06-04 16:32:17 -07:00
2017-07-12 18:02:52 -07:00
2017-07-03 18:57:50 -07:00
2017-02-19 15:33:27 +02:00
2017-07-03 18:57:50 -07:00
2016-03-26 16:42:24 -07:00
2017-05-20 22:55:08 -07:00
2017-05-29 16:37:30 -07:00
2015-11-08 01:37:55 -08:00
2017-06-30 02:09:56 -07:00
2017-06-23 18:44:35 -07:00
2016-12-07 17:53:08 +02:00
2017-06-29 16:14:27 -07:00
2017-05-19 15:19:39 -07:00
2016-12-28 22:52:08 +02:00
2017-05-29 17:17:36 -07:00
2015-11-08 01:37:55 -08:00
2017-02-19 15:33:27 +02:00
2017-06-04 16:32:17 -07:00
2017-06-30 23:51:14 -07:00
2016-04-16 15:37:35 -07:00
2016-06-20 13:21:22 +03:00
2017-05-19 16:51:05 -07:00
2016-07-09 15:03:03 -07:00
2017-06-04 16:32:17 -07:00
2015-11-21 20:51:46 +02:00
2016-05-20 17:01:40 -07:00
2016-10-13 12:08:06 -07:00
2016-10-15 10:26:20 +03:00
2017-06-16 18:27:25 +03:00
2017-04-20 17:06:28 -07:00
2017-06-03 17:05:40 -07:00
2016-06-21 17:32:02 -07:00
2016-07-29 18:09:01 -07:00
2015-12-16 18:16:39 -08:00
2016-11-13 15:25:43 +02:00
2017-07-03 18:57:50 -07:00
2016-10-06 08:53:38 +03:00
2017-06-30 23:51:14 -07:00
2017-04-05 12:44:55 -07:00
2016-06-11 21:33:12 +03:00
2016-05-20 17:01:40 -07:00
2017-05-29 12:47:40 -07:00
2016-06-13 11:01:05 +03:00
2017-03-10 16:41:49 -08:00
2016-05-19 18:05:54 +03:00
2016-01-17 15:05:34 -08:00
2017-07-16 15:28:44 -07:00
2016-06-23 06:21:58 -07:00
2017-06-04 15:22:00 -07:00
2017-02-19 15:33:27 +02:00
2015-05-25 09:21:31 +09:00
2016-03-31 17:56:11 -07:00
2016-06-16 17:11:25 -07:00
2017-06-08 15:05:24 -07:00
2017-05-19 15:19:39 -07:00
2017-06-16 18:27:25 +03:00
2017-06-08 15:05:24 -07:00
2016-03-25 17:26:37 -07:00