From f7b8c5b3ac7ccb4f279666ca7b3126127d38e867 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 10 Jan 2024 14:16:09 +0100 Subject: [PATCH] move this --- src/p_setup.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 3fb2fae12..20ad65644 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -3148,10 +3148,11 @@ boolean P_SetupLevel(boolean skipprecip) // Correct missing sidedefs & deep water trick HWR_CorrectSWTricks(); HWR_CreatePlanePolygons((INT32)numnodes - 1); + + if (HWR_ShouldUsePaletteRendering()) + HWR_SetMapPalette(); } - - if (HWR_ShouldUsePaletteRendering()) - HWR_SetMapPalette(); + #endif // oh god I hope this helps