mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-02-13 07:31:04 +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())
|
if (!CurrentIntermission->NextPage())
|
||||||
{
|
{
|
||||||
CurrentIntermission->Destroy();
|
CurrentIntermission->Destroy();
|
||||||
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
GC::WriteBarrier(CurrentIntermission);
|
GC::WriteBarrier(CurrentIntermission);
|
||||||
|
|
Loading…
Reference in a new issue