From a0062060eb59ad82fd38e558e05e38d4e915b24f Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 16 Apr 2025 16:50:09 +0200 Subject: [PATCH] oop --- src/r_data.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data.c b/src/r_data.c index b01b12ba5..53f58de27 100644 --- a/src/r_data.c +++ b/src/r_data.c @@ -618,7 +618,7 @@ void R_LoadTextures(void) } else { - texstart = W_CheckNumForMarkerStartPwad(TX_START, (UINT16)w, 0); + texstart = W_CheckNumForNamePwad(TX_START, (UINT16)w, 0) + 1; texend = W_CheckNumForNamePwad(TX_END, (UINT16)w, 0); texturesLumpPos = W_CheckNumForNamePwad("TEXTURES", (UINT16)w, 0); if (texturesLumpPos != INT16_MAX)