diff --git a/src/r_textures.c b/src/r_textures.c
index 6e01d56412f5663bf970baface676ebad6561cb1..b61ddb86f849f26c3e53980163c5a7f1ac2e94cd 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;