Combines R_CheckFlatNumForName into R_CheckTextureNumForName, which fixes the texture cache lookup to check for the proper texture type
R_CheckFlatNumForName
R_CheckTextureNumForName