mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
- fixed: The intermission screen did not initialize its texture variable when the texture was invalid.
SVN r3023 (trunk)
This commit is contained in:
parent
9ad2a2b00e
commit
d54ee47656
1 changed files with 2 additions and 6 deletions
|
@ -110,12 +110,8 @@ void DIntermissionScreen::Init(FIntermissionAction *desc, bool first)
|
|||
{
|
||||
texname = GStrings[texname+1];
|
||||
}
|
||||
FTextureID tex = TexMan.CheckForTexture(texname, FTexture::TEX_MiscPatch);
|
||||
if (tex.isValid())
|
||||
{
|
||||
mBackground = tex;
|
||||
mBackground = TexMan.CheckForTexture(texname, FTexture::TEX_MiscPatch);
|
||||
mFlatfill = desc->mFlatfill;
|
||||
}
|
||||
S_Sound (CHAN_VOICE | CHAN_UI, desc->mSound, 1.0f, ATTN_NONE);
|
||||
if (desc->mPalette.IsNotEmpty() && (lumpnum = Wads.CheckNumForFullName(desc->mPalette, true)) > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue