Files
nethack/src
PatR 90717ca633 more chest->tknown handling
Disarming a chest trap was setting obj->tknown = 0 even though the
hero just discovered that it isn't trapped.

Triggering a chest trap behaved similarly.  Since there are no
repeating chest traps, hero should know that the chest whose trap
just went off is no longer trapped.

chest_trap() didn't document its return value but was clearly meant
to return True if the chest was destroyed.  It didn't handle that
correctly when the chest was being carried.  However, none of the
callers actually use the return value.  [This fix tracks whether the
chest gets deleted; a better fix would be to destroy an exploding
chest even when it is being carried.]
2025-03-13 13:54:56 -07:00
..
2025-01-18 18:04:09 -08:00
2025-03-05 10:29:50 -05:00
2024-12-20 10:32:38 -05:00
2025-02-05 17:26:15 -05:00
2025-03-05 08:55:27 -05:00
2025-02-10 17:48:01 +02:00
2025-01-18 19:36:06 -08:00
2024-11-14 11:54:39 -05:00
2024-12-19 18:18:11 -08:00
2025-02-04 15:16:42 -05:00
2025-01-18 19:58:30 -08:00
2025-02-13 00:18:39 -05:00
2025-01-19 11:24:40 -08:00
2025-02-04 15:36:36 -05:00
2025-01-19 11:59:48 -08:00
2025-01-12 13:50:25 -05:00
2025-01-19 11:59:48 -08:00
2025-01-19 12:40:28 -08:00
2025-03-08 13:16:27 -08:00
2025-01-19 22:53:03 -08:00
2024-03-14 17:41:51 -04:00
2025-03-12 01:28:05 -07:00
2025-01-19 23:31:26 -08:00
2025-01-19 23:31:26 -08:00
2025-02-04 11:06:53 -08:00
2025-01-20 00:58:06 -08:00
2025-01-20 08:39:33 -08:00
2025-01-21 19:39:35 -08:00
2024-03-14 17:41:51 -04:00
2025-01-27 00:37:35 -08:00
2025-01-21 22:42:23 -08:00
2025-01-22 12:15:39 -08:00
2025-01-12 13:50:25 -05:00
2025-01-22 12:15:39 -08:00
2024-12-22 23:20:04 -05:00
2025-03-07 12:07:17 -08:00
2025-02-04 15:16:42 -05:00
2024-09-05 16:49:42 -07:00
2024-03-14 17:41:51 -04:00
2025-02-04 15:16:42 -05:00
2025-02-04 15:16:42 -05:00
2024-07-13 16:31:35 -04:00
2025-01-21 14:55:05 -08:00
2025-01-20 14:37:46 -05:00
2024-04-10 00:46:21 -07:00
2024-11-13 17:36:47 -05:00
2024-09-05 16:49:42 -07:00
2025-03-13 13:54:56 -07:00
2025-01-22 16:34:05 -08:00
2024-12-20 10:32:38 -05:00
2025-01-22 16:58:04 -08:00
2025-02-05 08:18:29 -05:00
2025-01-19 11:52:44 -08:00
2025-03-07 12:14:22 -08:00
2025-02-04 15:16:42 -05:00
2025-03-12 01:28:05 -07:00