forked from valve/halflife-sdk
client: fix sizeof usage for some reason ???
This commit is contained in:
parent
802bdd54f5
commit
7c08f36bcf
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ void CHudStatusIcons::DisableIcon( const char *pszIconName )
|
|||
if ( !stricmp( m_IconList[i].szSpriteName, pszIconName ) )
|
||||
{
|
||||
// clear the item from the list
|
||||
memset( &m_IconList[i], 0, sizeof icon_sprite_t );
|
||||
memset( &m_IconList[i], 0, sizeof( icon_sprite_t ));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue