From f6817f9544116c9c4d49dae472d25d032756cd16 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 6 Apr 2012 10:32:27 +0000 Subject: [PATCH] - moved S_NoiseDebug call from FStatusBar::Draw to FStatusBar::DrawTopStuff so that it also gets drawn with the alternative HUD and stays on top of other HUD content. SVN r3520 (trunk) --- src/g_shared/shared_sbar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/g_shared/shared_sbar.cpp b/src/g_shared/shared_sbar.cpp index b66c865af..6f5baab38 100644 --- a/src/g_shared/shared_sbar.cpp +++ b/src/g_shared/shared_sbar.cpp @@ -1358,11 +1358,6 @@ void DBaseStatusBar::Draw (EHudState state) } } } - - if (noisedebug) - { - S_NoiseDebug (); - } } @@ -1467,6 +1462,11 @@ void DBaseStatusBar::DrawTopStuff (EHudState state) DrawConsistancy (); if (ShowLog && MustDrawLog(state)) DrawLog (); + + if (noisedebug) + { + S_NoiseDebug (); + } } //---------------------------------------------------------------------------