use P_MobjWasRemoved for HWR_DrawSprite
This commit is contained in:
1 parent
4418653edb
commit
c46ff7daff
1 file changed
+1
-1
@@ -3725,7 +3725,7 @@ static void HWR_DrawSprite(gl_vissprite_t *spr)
|
||||
|
||||
INT32 shader = SHADER_NONE;
|
||||
|
||||
if (!spr->mobj)
|
||||
if (P_MobjWasRemoved(spr->mobj))
|
||||
return;
|
||||
|
||||
if (!spr->mobj->subsector)
|
||||
|
||||
Reference in new issue
Block a user