From 48e60648f64776bcec522756d029fe5ed8d91d48 Mon Sep 17 00:00:00 2001 From: Eidolon Date: Thu, 2 Oct 2025 12:33:24 -0500 Subject: [PATCH] Fix clang-cl compilation from showgremlins patch --- src/p_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_test.cpp b/src/p_test.cpp index 2c4ebf57f..beb85626b 100644 --- a/src/p_test.cpp +++ b/src/p_test.cpp @@ -30,9 +30,10 @@ void P_TestLine(line_t* ld) g_lines.emplace_back(ld); } +extern "C" consvar_t cv_showgremlins; + line_t* P_SweepTestLines(fixed_t ax, fixed_t ay, fixed_t bx, fixed_t by, fixed_t r, vector2_t* return_normal) { - extern consvar_t cv_showgremlins; using namespace srb2::math; using namespace srb2::sweep;