client: fix sizeof usage for some reason ???

This commit is contained in:
Alibek Omarov 2023-09-09 03:15:14 +03:00
parent 802bdd54f5
commit 7c08f36bcf

View file

@ -154,7 +154,7 @@ void CHudStatusIcons::DisableIcon( const char *pszIconName )
if ( !stricmp( m_IconList[i].szSpriteName, pszIconName ) ) if ( !stricmp( m_IconList[i].szSpriteName, pszIconName ) )
{ {
// clear the item from the list // 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; return;
} }
} }