Browse Source

Rework initialization.

wantedhl
Night Owl 9 years ago
parent
commit
0549ead5ab
  1. 9
      cl_dll/hud_spectator.cpp

9
cl_dll/hud_spectator.cpp

@ -867,16 +867,13 @@ bool CHudSpectator::IsActivePlayer(cl_entity_t * ent)
bool CHudSpectator::ParseOverviewFile( ) bool CHudSpectator::ParseOverviewFile( )
{ {
char filename[255]; char filename[255] = { 0 };
char levelname[255]; char levelname[255] = { 0 };
char token[1024]; char token[1024] = { 0 };
float height; float height;
char *pfile = NULL; char *pfile = NULL;
memset( filename, 0, 255 );
memset( levelname, 0, 255 );
memset( token, 0, 1024 );
memset( &m_OverviewData, 0, sizeof(m_OverviewData)); memset( &m_OverviewData, 0, sizeof(m_OverviewData));
// fill in standrd values // fill in standrd values

Loading…
Cancel
Save