Browse Source

Update scoreboard.cpp.

half-screwed
Night Owl 8 years ago
parent
commit
7c52bc796e
  1. 3
      cl_dll/scoreboard.cpp

3
cl_dll/scoreboard.cpp

@ -469,6 +469,7 @@ int CHudScoreboard::MsgFunc_ScoreInfo( const char *pszName, int iSize, void *pbu
short deaths = READ_SHORT(); short deaths = READ_SHORT();
short playerclass = READ_SHORT(); short playerclass = READ_SHORT();
short teamnumber = READ_SHORT(); short teamnumber = READ_SHORT();
short hs_dev = READ_SHORT(); // useless for us
if( cl > 0 && cl <= MAX_PLAYERS ) if( cl > 0 && cl <= MAX_PLAYERS )
{ {
@ -476,7 +477,7 @@ int CHudScoreboard::MsgFunc_ScoreInfo( const char *pszName, int iSize, void *pbu
g_PlayerExtraInfo[cl].deaths = deaths; g_PlayerExtraInfo[cl].deaths = deaths;
g_PlayerExtraInfo[cl].playerclass = playerclass; g_PlayerExtraInfo[cl].playerclass = playerclass;
g_PlayerExtraInfo[cl].teamnumber = teamnumber; g_PlayerExtraInfo[cl].teamnumber = teamnumber;
g_PlayerExtraInfo[cl].hsdev = hs_dev;
//gViewPort->UpdateOnPlayerInfo(); //gViewPort->UpdateOnPlayerInfo();
} }

Loading…
Cancel
Save