mirror of
https://github.com/ZDoom/Raze.git
synced 2025-04-22 07:50:54 +00:00
- WHaven: fixed automap HUD display.
This commit is contained in:
parent
9ea035ad2d
commit
0ccf2bb9ef
3 changed files with 8 additions and 6 deletions
|
@ -299,8 +299,8 @@ void HWDrawInfo::DispatchSprites()
|
|||
if ((tspr->cstat & CSTAT_SPRITE_ALIGNMENT) != CSTAT_SPRITE_ALIGNMENT_SLAB && tiletovox[tspr->picnum] >= 0 && voxmodels[tiletovox[tspr->picnum]])
|
||||
{
|
||||
HWSprite hwsprite;
|
||||
int num = tiletovox[tspr->picnum];
|
||||
if (hwsprite.ProcessVoxel(this, voxmodels[tiletovox[tspr->picnum]], tspr, §or[tspr->sectnum], voxrotate[num]))
|
||||
int num = tiletovox[tilenum];
|
||||
if (hwsprite.ProcessVoxel(this, voxmodels[num], tspr, §or[tspr->sectnum], voxrotate[num]))
|
||||
continue;
|
||||
}
|
||||
else if ((tspr->cstat & CSTAT_SPRITE_ALIGNMENT) == CSTAT_SPRITE_ALIGNMENT_SLAB && tspr->picnum < MAXVOXELS && voxmodels[tspr->picnum])
|
||||
|
|
|
@ -108,16 +108,17 @@ void drawscreen(int num, double dasmoothratio, bool sceneonly)
|
|||
|
||||
if (!sceneonly)
|
||||
{
|
||||
if (automapMode != am_off)
|
||||
{
|
||||
DrawOverheadMap(cposx, cposy, cang.asbuild(), dasmoothratio);
|
||||
}
|
||||
|
||||
applyflash();
|
||||
if (!plr.over_shoulder_on)
|
||||
{
|
||||
DrawHud(dasmoothratio);
|
||||
}
|
||||
|
||||
if (automapMode != am_off)
|
||||
{
|
||||
DrawOverheadMap(cposx, cposy, cang.asbuild(), dasmoothratio);
|
||||
}
|
||||
}
|
||||
RestoreInterpolations();
|
||||
}
|
||||
|
|
|
@ -479,6 +479,7 @@ class WHStatusBar : RazeStatusBar
|
|||
stats.spacing = stats.fontScale * SmallFont.GetHeight() + 1;
|
||||
stats.screenbottomspace = bottomy;
|
||||
stats.statfont = SmallFont;
|
||||
stats.altspacing = stats.spacing;
|
||||
|
||||
if (automapMode == am_full)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue