- carry over the tiling flag from the finished to the entering screen

This commit is contained in:
Christoph Oelckers 2022-08-17 21:28:52 +02:00
parent 88674b5ea0
commit 1940527dba

View file

@ -278,7 +278,7 @@ bool DInterBackground::LoadBackground(bool isenterpic)
bcnt = 0; bcnt = 0;
tilebackground = false; if (!isenterpic) tilebackground = false;
texture.SetInvalid(); texture.SetInvalid();
level_info_t * li = FindLevelInfo(wbs->current); level_info_t * li = FindLevelInfo(wbs->current);
@ -329,6 +329,7 @@ bool DInterBackground::LoadBackground(bool isenterpic)
} }
} }
lumpname = "INTERPIC"; lumpname = "INTERPIC";
tilebackground = false;
} }
break; break;
@ -345,6 +346,7 @@ bool DInterBackground::LoadBackground(bool isenterpic)
{ {
if (isenterpic) return false; if (isenterpic) return false;
lumpname = "FLOOR16"; lumpname = "FLOOR16";
tilebackground = true;
} }
break; break;