check ceiling first in encore flat precaching

no clue why but this fixes the sides of the road on ORR not being encore remapped
This commit is contained in:
Alug committed 2025-04-23 19:54:58 +02:00
1 parent 1d15f89433
commit 1bb52b9c2d
1 file changed
+1 -1
+1 -1
View File
@@ -553,7 +553,7 @@ static void HWR_PrecacheLevelFlats(void)
// gotta check sector floor and ceiling
for (j = 0; j < 2; j++)
{
const boolean ceiling = (j == 1);
const boolean ceiling = (j == 0);
INT32 pic = ceiling ? sec->ceilingpic : sec->floorpic;
levelflat = levelflats[pic];