umapinfo: fix default endpic (#245)

This commit is contained in:
Roman Fomin 2021-07-27 14:05:21 +07:00 committed by GitHub
parent 8bd6693a0d
commit dc0c2a85a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -847,9 +847,13 @@ void F_Drawer (void)
{
if (using_FMI)
{
if (!finalestage || !gamemapinfo->endpic[0] || (strcmp(gamemapinfo->endpic, "-") == 0))
if (!finalestage)
{
F_TextWrite();
if (!gamemapinfo->endpic[0])
{
using_FMI = false;
}
}
else if (strcmp(gamemapinfo->endpic, "$BUNNY") == 0)
{