mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 16:01:35 +00:00
Avoid a crash
This commit is contained in:
parent
39c5ab4e17
commit
38c74cecc0
1 changed files with 2 additions and 3 deletions
|
@ -323,7 +323,6 @@ void Y_IntermissionDrawer(void)
|
|||
if (rendermode == render_none)
|
||||
return;
|
||||
|
||||
if (!usebuffer)
|
||||
// Lactozilla: Renderer switching
|
||||
if (needpatchrecache)
|
||||
{
|
||||
|
@ -364,11 +363,11 @@ void Y_IntermissionDrawer(void)
|
|||
{
|
||||
if (widebgpatch && rendermode == render_soft && vid.width / vid.dupx == 400)
|
||||
V_DrawScaledPatch(0, 0, V_SNAPTOLEFT, widebgpatch);
|
||||
else
|
||||
else if (bgpatch)
|
||||
V_DrawScaledPatch(0, 0, 0, bgpatch);
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (bgtile)
|
||||
V_DrawPatchFill(bgtile);
|
||||
|
||||
LUAh_IntermissionHUD();
|
||||
|
|
Loading…
Reference in a new issue