diff options
| author | oy <Tom_Adams@web.de> | 2010-08-18 03:57:35 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2010-08-18 03:57:35 +0200 |
| commit | 538d968349faaec96ca010cc3fa0efdc13a05aed (patch) | |
| tree | bf6d1d791aa580e8a05df553a58a6efd26cd771e /src/game/client/components/scoreboard.cpp | |
| parent | 0f72fd19ef9f03b335c9bc4e4dae764079e1f30d (diff) | |
| download | zcatch-538d968349faaec96ca010cc3fa0efdc13a05aed.tar.gz zcatch-538d968349faaec96ca010cc3fa0efdc13a05aed.zip | |
fixed that scoreboard overlaps the chat. Closes #14
Diffstat (limited to 'src/game/client/components/scoreboard.cpp')
| -rw-r--r-- | src/game/client/components/scoreboard.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 27e577e8..5f9aeea7 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -322,3 +322,8 @@ void CScoreboard::OnRender() RenderGoals(Width/2-w/2, 150+750+25, w); RenderSpectators(Width/2-w/2, 150+750+25+50+25, w); } + +bool CScoreboard::Active() +{ + return m_Active | (m_pClient->m_Snap.m_pGameobj && m_pClient->m_Snap.m_pGameobj->m_GameOver); +} |