mirror of
https://github.com/ENSL/NS.git
synced 2024-11-10 07:11:38 +00:00
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:
parent
2a4c5d4f73
commit
5d6d063864
1 changed files with 3 additions and 7 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue