mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- removed pointless and non-functional null check
clipmapinfo is a static global variable, its address is never null.
This commit is contained in:
parent
9f9e59e3ba
commit
4d45117ca5
1 changed files with 1 additions and 1 deletions
|
@ -2485,7 +2485,7 @@ restart_grand:
|
|||
// try and see whether this sprite's picnum has sector-like clipping data
|
||||
i = pictoidx[spr->picnum];
|
||||
// handle sector-like floor sprites separately
|
||||
while ((&clipmapinfo != nullptr) && i>=0 && (cstat&32) != (clipmapinfo.sector[sectq[clipinfo[i].qbeg]].CM_CSTAT&32))
|
||||
while (i>=0 && (cstat&32) != (clipmapinfo.sector[sectq[clipinfo[i].qbeg]].CM_CSTAT&32))
|
||||
i = clipinfo[i].next;
|
||||
if (i>=0 && clipspritenum<MAXCLIPNUM)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue