Fix skywall appearing for some invisible FOFs

Fixes bellbridge and secret slide

Context:
first flat in srb2.srb is F_SKY1
first texture is - aka PIT~
Vanilla kart doesn't have the 2.2 texture refactor aka wallflats, so flats aren't loaded into the textures array but
then wallflats came along and lacto just decided to load flats before textures
This commit is contained in:
GenericHeroGuy 2026-02-04 12:06:25 -05:00 committed by NepDisk
parent 4f1f81cea5
commit a098e22907

View file

@ -1441,8 +1441,8 @@ void R_UpdateTextureBrightmap(INT32 tx, INT32 bm)
static INT32 R_DefineTextures(INT32 i, UINT16 w)
{
i = Rloadflats(i, w);
return Rloadtextures(i, w);
i = Rloadtextures(i, w);
return Rloadflats(i, w);
}
static void R_FinishLoadingTextures(INT32 add)