Nuke some obsolete fields.

scoreboard_t and player_info_t haven't used the
_color/_topcolor/_bottomcolor fields for a while (since glsl).
This commit is contained in:
Bill Currie 2012-05-26 11:52:09 +09:00
parent fd78d900e9
commit afec630d1a
3 changed files with 0 additions and 4 deletions

View file

@ -58,7 +58,6 @@ typedef struct
float entertime;
int frags;
int colors; // two 4 bit fields
int _colors;
} scoreboard_t;

View file

@ -79,8 +79,6 @@ typedef struct player_info_s
struct info_key_s *team;
struct skin_s *skin;
int _topcolor;
int _bottomcolor;
int spectator;
int stats[MAX_CL_STATS]; // health, etc

View file

@ -1097,7 +1097,6 @@ CL_ProcessUserInfo (int slot, player_info_t *player)
else
Info_SetValueForKey (player->userinfo, "name", "", 1);
}
player->_topcolor = player->_bottomcolor = -1;
player->topcolor = atoi (Info_ValueForKey (player->userinfo, "topcolor"));
player->bottomcolor =
atoi (Info_ValueForKey (player->userinfo, "bottomcolor"));