game: init uninitialized variables

This commit is contained in:
nillerusr
2022-05-01 20:09:55 +03:00
parent 61cd8d0afc
commit 600695b15f
17 changed files with 37 additions and 56 deletions
+2 -1
View File
@@ -633,6 +633,7 @@ CBaseHudChat::CBaseHudChat( const char *pElementName )
}
m_pChatHistory = new CHudChatHistory( this, "HudChatHistory" );
m_pFilterPanel = NULL;
CreateChatLines();
CreateChatInputLine();
@@ -1829,4 +1830,4 @@ void CBaseHudChat::FireGameEvent( IGameEvent *event )
ChatPrintf( player->entindex(), CHAT_FILTER_NONE, "(SourceTV) %s", event->GetString( "text" ) );
}
#endif
}
}