Browse Source

Hide an error that causes issues in Freedoom E1M5

master
Lephenixnoir 2 months ago
parent
commit
17147b969b
Signed by: Lephenixnoir GPG Key ID: 1BBA026E13FC0495
  1. 4
      cgdoom/r_things.c

4
cgdoom/r_things.c

@ -434,8 +434,8 @@ static void R_DrawVisSprite( vissprite_t* vis)
{
texturecolumn = frac>>FRACBITS;
#ifdef RANGECHECK
if (texturecolumn < 0 || texturecolumn >= SHORT(patch->width))
I_Error ("R_DrawSpriteRange: bad texturecolumn");
// if (texturecolumn < 0 || texturecolumn >= SHORT(patch->width))
// I_Error ("R_DrawSpriteRange: bad texturecolumn");
#endif
column = (const column_t *) ((const byte *)patch + INTFromBytes((const byte*)&patch->columnofsLE[texturecolumn]));
R_DrawMaskedColumn(column);

Loading…
Cancel
Save