mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-01-11 15:38:12 +00:00
Rework initialization.
This commit is contained in:
parent
bdc4e3f8d3
commit
0549ead5ab
@ -867,16 +867,13 @@ bool CHudSpectator::IsActivePlayer(cl_entity_t * ent)
|
||||
|
||||
bool CHudSpectator::ParseOverviewFile( )
|
||||
{
|
||||
char filename[255];
|
||||
char levelname[255];
|
||||
char token[1024];
|
||||
char filename[255] = { 0 };
|
||||
char levelname[255] = { 0 };
|
||||
char token[1024] = { 0 };
|
||||
float height;
|
||||
|
||||
char *pfile = NULL;
|
||||
|
||||
memset( filename, 0, 255 );
|
||||
memset( levelname, 0, 255 );
|
||||
memset( token, 0, 1024 );
|
||||
memset( &m_OverviewData, 0, sizeof(m_OverviewData));
|
||||
|
||||
// fill in standrd values
|
||||
|
Loading…
Reference in New Issue
Block a user