mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- fixed another crash with stored commands on startup
Example: +map CCMD in command line options
This commit is contained in:
parent
b07ff3f504
commit
c2a78bbd21
1 changed files with 1 additions and 1 deletions
|
@ -367,7 +367,7 @@ void DThinker::ChangeStatNum (int statnum)
|
|||
{
|
||||
FThinkerList *list;
|
||||
|
||||
Level = currentSession->Levelinfo[0]; // fixme later.
|
||||
Level = currentSession == nullptr ? nullptr : currentSession->Levelinfo[0]; // fixme later.
|
||||
|
||||
if ((unsigned)statnum > MAX_STATNUM)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue