mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
- make "activatecheat" pass a raw string to shadow warrior's cheat processor
- added a nullptr check
This commit is contained in:
parent
0f3b3300fb
commit
929fc880ee
1 changed files with 1 additions and 1 deletions
|
@ -2477,7 +2477,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 (i>=0 && (cstat&32) != (clipmapinfo.sector[sectq[clipinfo[i].qbeg]].CM_CSTAT&32))
|
||||
while ((&clipmapinfo != nullptr) && 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