diff options
| author | oy <Tom_Adams@web.de> | 2011-03-27 14:30:59 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-27 14:30:59 +0200 |
| commit | edf10b8b13de704e27d9c26a1356cf840552385c (patch) | |
| tree | ef40ac7a63bf4b5beea0534978a2fc9513fca9d1 /src/game/client/components/nameplates.cpp | |
| parent | 6a3653b850bb3312fe56a50b04e3484f9f03029d (diff) | |
| download | zcatch-edf10b8b13de704e27d9c26a1356cf840552385c.tar.gz zcatch-edf10b8b13de704e27d9c26a1356cf840552385c.zip | |
added an option to disable team colors for name plates. Closes #544
Diffstat (limited to 'src/game/client/components/nameplates.cpp')
| -rw-r--r-- | src/game/client/components/nameplates.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/client/components/nameplates.cpp b/src/game/client/components/nameplates.cpp index 9fa7e06a..fecd6227 100644 --- a/src/game/client/components/nameplates.cpp +++ b/src/game/client/components/nameplates.cpp @@ -34,7 +34,7 @@ void CNamePlates::RenderNameplate( TextRender()->TextOutlineColor(0.0f, 0.0f, 0.0f, 0.5f*a); TextRender()->TextColor(1.0f, 1.0f, 1.0f, a); - if(m_pClient->m_Snap.m_pGameInfoObj && m_pClient->m_Snap.m_pGameInfoObj->m_GameFlags&GAMEFLAG_TEAMS) + if(g_Config.m_ClNameplatesTeamcolors && m_pClient->m_Snap.m_pGameInfoObj && m_pClient->m_Snap.m_pGameInfoObj->m_GameFlags&GAMEFLAG_TEAMS) { if(pPlayerInfo->m_Team == TEAM_RED) TextRender()->TextColor(1.0f, 0.5f, 0.5f, a); |