- don't play empty intermissions.

This commit is contained in:
Christoph Oelckers 2022-05-20 00:03:10 +02:00
parent f87c7b538a
commit c6092ef07e

View file

@ -1013,6 +1013,7 @@ DIntermissionController* F_StartIntermission(FIntermissionDescriptor *desc, bool
if (!CurrentIntermission->NextPage())
{
CurrentIntermission->Destroy();
return nullptr;
}
GC::WriteBarrier(CurrentIntermission);