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