mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
- fixed freeze with StartSlideshow called for undefined intermission
https://forum.zdoom.org/viewtopic.php?t=69079
This commit is contained in:
parent
7e25e04257
commit
ece526a99c
1 changed files with 5 additions and 1 deletions
|
@ -977,7 +977,11 @@ void F_StartIntermission(FIntermissionDescriptor *desc, bool deleteme, uint8_t s
|
|||
void F_StartIntermission(FName seq, uint8_t state)
|
||||
{
|
||||
FIntermissionDescriptor **pdesc = IntermissionDescriptors.CheckKey(seq);
|
||||
if (pdesc != NULL)
|
||||
if (pdesc == nullptr)
|
||||
{
|
||||
gameaction = ga_nothing;
|
||||
}
|
||||
else
|
||||
{
|
||||
F_StartIntermission(*pdesc, false, state);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue