- Exhumed: hide all screen overlays when Ramses is talking.

This commit is contained in:
Christoph Oelckers 2022-01-03 20:53:21 +01:00
parent 894f9a6b0a
commit 8267f327e3
2 changed files with 13 additions and 9 deletions

View file

@ -75,7 +75,11 @@ void GameInterface::Render()
double const smoothratio = calc_smoothratio();
DrawView(smoothratio);
if (nFreeze != 2) // Hide when Ramses is talking.
{
DrawStatusBar();
DrawCrosshair(kCrosshairTile, PlayerList[nLocalPlayer].nHealth >> 3, -PlayerList[nLocalPlayer].angle.look_anghalf(smoothratio), 0, 1);
@ -86,6 +90,7 @@ void GameInterface::Render()
int nStringWidth = font->StringWidth(tex);
DrawText(twod, font, CR_UNTRANSLATED, 160 - nStringWidth / 2, 100, tex, DTA_FullscreenScale, FSMode_Fit320x200, TAG_DONE);
}
}
drawtime.Unclock();
}

View file

@ -144,7 +144,6 @@ void StatusMessage(int messageTime, const char* fmt, ...)
void DrawStatusBar()
{
if (nFreeze == 2) return; // Hide when Ramses is talking.
if (hud_size <= Hud_Stbar)
{
UpdateFrame();