Files
nethack/include
Ingo Paschke e07eb1a550 Fix vision: remove NO_MACRO_CPATH
The non-macro q_path() function wrappers in vision.c pass the first
two arguments in the wrong order to the _q*_path() functions, swapping
rows and columns. This causes the Bresenham line-of-sight code to use
column values as row indices into viz_clear_rows[ROWNO], producing
out-of-bounds access and infinite loops.

NO_MACRO_CPATH selects these broken function wrappers. It was only
defined for Amiga (in config1.h), so the bug never triggered on other
platforms. Remove the define to use the correct macro versions.
2026-03-23 20:46:08 +01:00
..
2022-02-04 11:01:20 -05:00
2025-05-25 20:38:17 -04:00
2025-04-15 15:35:17 -04:00
2026-01-11 10:11:30 -05:00
2022-11-29 21:53:21 -05:00
2026-03-23 20:46:08 +01:00
2025-07-29 15:45:11 -07:00
2022-06-30 23:48:18 -04:00
2024-12-20 10:32:38 -05:00
2024-09-06 13:08:07 -07:00
2024-10-12 14:56:36 -04:00
2021-01-26 21:06:16 -05:00
2026-01-13 10:32:08 -08:00
2025-05-25 20:38:17 -04:00
2025-05-29 09:59:29 -04:00
2025-05-26 20:33:06 -04:00
2024-09-06 13:08:07 -07:00
2022-06-19 02:30:45 -07:00
2025-02-04 15:16:42 -05:00
2024-09-06 13:08:07 -07:00
2025-04-24 11:11:55 -07:00
2024-02-24 13:49:51 -08:00
2026-01-04 11:16:45 -05:00
2024-12-20 10:32:38 -05:00
2025-03-19 17:14:07 -04:00
2024-11-26 20:57:11 -08:00
2022-10-26 14:21:23 -04:00
2025-05-26 13:18:32 -04:00
2024-03-07 11:01:04 -05:00
2025-05-25 20:38:17 -04:00
2024-02-28 20:15:56 -08:00
2024-09-06 13:08:07 -07:00
2024-03-07 11:01:04 -05:00
2024-08-17 11:19:45 -07:00
2024-11-13 09:07:10 -05:00
2023-11-22 16:01:58 -05:00
2020-08-12 16:15:28 -07:00
2024-12-20 10:32:38 -05:00
2024-12-20 10:32:38 -05:00
2024-09-06 13:08:07 -07:00
2025-03-22 12:17:12 -04:00
2022-06-30 23:48:18 -04:00
2025-01-04 23:38:34 -05:00
2025-04-26 12:50:18 -07:00
2025-04-15 15:35:17 -04:00
2025-02-28 11:37:05 -08:00
2022-10-26 14:21:23 -04:00
2022-10-26 14:21:23 -04:00
2024-11-26 20:57:11 -08:00