From 3f4556a861168419a646a5f3353529c34aec1409 Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 12 Jan 2011 01:18:07 +0100 Subject: hide the broadcast when the scoreboard is active. Closes #408 --- src/game/client/components/broadcast.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/game/client/components/broadcast.cpp b/src/game/client/components/broadcast.cpp index c262fff0..37876562 100644 --- a/src/game/client/components/broadcast.cpp +++ b/src/game/client/components/broadcast.cpp @@ -8,6 +8,8 @@ #include +#include + #include "broadcast.h" void CBroadcast::OnReset() @@ -17,6 +19,9 @@ void CBroadcast::OnReset() void CBroadcast::OnRender() { + if(m_pClient->m_pScoreboard->Active()) + return; + Graphics()->MapScreen(0, 0, 300*Graphics()->ScreenAspect(), 300); if(time_get() < m_BroadcastTime) -- cgit 1.4.1