mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- don't play empty intermissions.
This commit is contained in:
parent
f87c7b538a
commit
c6092ef07e
1 changed files with 1 additions and 0 deletions
|
@ -1013,6 +1013,7 @@ DIntermissionController* F_StartIntermission(FIntermissionDescriptor *desc, bool
|
|||
if (!CurrentIntermission->NextPage())
|
||||
{
|
||||
CurrentIntermission->Destroy();
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
GC::WriteBarrier(CurrentIntermission);
|
||||
|
|
Loading…
Reference in a new issue