mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- Duke: Re-add lost nullptr check in prelevel_d()
that was causing a crash while loading Duke Nukem's Penthouse Paradise.
This commit is contained in:
parent
81268cb9b6
commit
2e7496888a
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ void prelevel_d(int g)
|
|||
|
||||
if (mirrorcnt > 63)
|
||||
I_Error("Too many mirrors (64 max.)");
|
||||
if (sectp->ceilingpicnum != MIRROR)
|
||||
if (sectp && sectp->ceilingpicnum != MIRROR)
|
||||
{
|
||||
assert(wallnum(&wal) > 0);
|
||||
sectp->ceilingpicnum = MIRROR;
|
||||
|
|
Loading…
Reference in a new issue