o removed cvars for scoreboard weapon sprite colour.

git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@578 67975925-1194-0748-b3d5-c16f83f1a3a1
This commit is contained in:
puzl 2006-08-23 23:16:08 +00:00
parent 2a4c5d4f73
commit 5d6d063864
1 changed files with 3 additions and 7 deletions

View File

@ -1250,16 +1250,12 @@ void ScorePanel::FillGrid()
break;
case COLUMN_EXTRA:
if(( !theIsForEnemy || theLocalPlayerTeam == TEAM_SPECT )&& theLocalPlayerTeam != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_SPECT )
if( (!theIsForEnemy || theLocalPlayerTeam == TEAM_SPECT ) && theLocalPlayerTeam != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_IND && theExtraPlayerInfo->teamnumber != TEAM_SPECT )
{
if ( isNsMode ) {
if ( theExtraPlayerInfo->teamnumber == TEAM_ONE || theExtraPlayerInfo->teamnumber == TEAM_THREE ) {
int r=CVAR_GET_FLOAT("cl_iconr");
int g=CVAR_GET_FLOAT("cl_icong");
int b=CVAR_GET_FLOAT("cl_iconb");
r=max(min(255, r), 0);
g=max(min(255, g), 0);
b=max(min(255, b), 0);
int r=0, g=149, b=221;
switch(theExtraPlayerInfo->extra) {
case AVH_WEAPON_HMG: