From 90195e61052094e9319a16ac06d7656e0f9a75be Mon Sep 17 00:00:00 2001 From: Sally Coolatta <tehrealsalt@gmail.com> Date: Mon, 20 May 2024 17:55:33 -0400 Subject: [PATCH] W_GetTexPatchLumpNum uses W_CheckNumForPatchName Absolutely never allow a flat --- src/r_textures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_textures.c b/src/r_textures.c index 6e01d56412..b61ddb86f8 100644 --- a/src/r_textures.c +++ b/src/r_textures.c @@ -1179,7 +1179,7 @@ static lumpnum_t W_GetTexPatchLumpNum(const char *name) if (lump == LUMPERROR) { // Use whatever else you can find. - return W_GetNumForName(name); + return W_CheckNumForPatchName(name); } return lump; -- GitLab