Fix clang-cl compilation from showgremlins patch

This commit is contained in:
Eidolon 2025-10-02 12:33:24 -05:00
parent 92c117d186
commit 48e60648f6

View file

@ -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;