Load flats first so textures with the same name are prefered on walls

This commit is contained in:
James R 2020-01-13 15:21:35 -08:00
parent 0d6b6efe0f
commit 68b78f44d8

View file

@ -1042,10 +1042,10 @@ void R_LoadTextures(void)
for (i = 0, w = 0; w < numwadfiles; w++) for (i = 0, w = 0; w < numwadfiles; w++)
{ {
i = Rloadtextures(i, w);
#ifdef WALLFLATS #ifdef WALLFLATS
i = Rloadflats(i, w); i = Rloadflats(i, w);
#endif #endif
i = Rloadtextures(i, w);
} }
#ifdef HWRENDER #ifdef HWRENDER