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

View file

@ -1254,12 +1254,8 @@ void ScorePanel::FillGrid()
{
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: