Files
nethack/doc
PatR 36c2aec2ff fix #H7667 - maybe_reset_pick(), other bad context
When deciding whether to discard interrupted lock/unlock context while
changing levels, maybe_reset_pick() checks whether xlock.box is being
carried.  But it was doing so after the old level had been saved and
memory for non-carried container there had been freed.

That led to a couple of other issues.  context.travelcc was using -1
for 'no cached value', but the fields of travelcc have type 'xchar' and
shouldn't be given negative values.  0 should be fine for 'no cache'.

Failed partial restore which occurred after old game's context had been
loaded would begin a new game with old game's stale context.  Restoring
goes out of its way to avoid that for 'flags' but didn't for 'context'.
2018-12-04 17:10:15 -08:00
..
2018-11-11 10:29:52 -05:00
2018-04-14 19:01:15 -04:00
2018-09-19 21:46:07 -05:00
2018-04-25 16:54:50 -04:00
2002-01-05 21:05:47 +00:00
2018-04-25 16:54:50 -04:00
2002-01-05 21:05:47 +00:00
2018-09-21 16:36:38 -04:00
2018-09-21 18:12:42 -07:00
2018-09-21 18:12:42 -07:00
2018-04-25 16:54:50 -04:00
2018-09-21 18:12:42 -07:00
2018-09-21 18:12:42 -07:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2018-09-21 18:12:42 -07:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2002-01-05 21:05:47 +00:00
2003-05-11 13:40:01 +00:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-04-25 16:54:50 -04:00
2018-09-21 18:12:42 -07:00
2018-04-25 16:54:50 -04:00
2002-01-05 21:05:47 +00:00
2018-04-25 16:54:50 -04:00
2010-05-01 23:10:22 +00:00
2018-11-11 10:29:52 -05:00
2018-11-11 10:29:52 -05:00
2018-09-19 21:46:07 -05:00
2018-09-19 21:46:07 -05:00
2018-04-25 16:54:50 -04:00
2018-09-20 18:02:48 -04:00
2018-11-16 20:51:22 -05:00