mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-24 04:29:34 -04:00
fix drawing M_PAUSE from PWADs
This commit is contained in:
parent
335edb6ef9
commit
c79cb507f9
@ -331,10 +331,13 @@ void D_Display (void)
|
||||
if (paused)
|
||||
{
|
||||
int y = 4;
|
||||
int x = (viewwindowx>>hires);
|
||||
patch_t *patch = W_CacheLumpName("M_PAUSE", PU_CACHE);
|
||||
|
||||
if (!automapactive)
|
||||
y += (viewwindowy>>hires);
|
||||
V_DrawPatchDirect((viewwindowx>>hires)+(scaledviewwidth-68)/2-WIDESCREENDELTA,
|
||||
y,0,W_CacheLumpName ("M_PAUSE", PU_CACHE));
|
||||
V_DrawPatchDirect(x + (scaledviewwidth - patch->width) / 2 - WIDESCREENDELTA,
|
||||
y, 0, patch);
|
||||
}
|
||||
|
||||
// menus go directly to the screen
|
||||
|
Loading…
x
Reference in New Issue
Block a user