- Version bump to 2.1.7.
- Fixed: Placing a /* */ comment at the very end of a file without a terminating newline would not parse reliably. - Added a NULL WallSpriteTile check to R_RenderDecal(). SVN r365 (trunk)
This commit is contained in:
parent
88ca8e630c
commit
3b2c2efcb1
7 changed files with 34 additions and 11 deletions
|
|
@ -2167,7 +2167,7 @@ static void R_RenderDecal (side_t *wall, DBaseDecal *decal, drawseg_t *clipper,
|
|||
WallSpriteTile = TexMan(decal->PicNum);
|
||||
flipx = (BYTE)(decal->RenderFlags & RF_XFLIP);
|
||||
|
||||
if (WallSpriteTile->UseType == FTexture::TEX_Null)
|
||||
if (WallSpriteTile == NULL || WallSpriteTile->UseType == FTexture::TEX_Null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue