more fixes

This commit is contained in:
LightCat 2018-09-15 12:13:14 +02:00
parent 3de9169ade
commit 82162ed97a

View File

@ -90,9 +90,9 @@ DEFINE_HOOKED_METHOD(DispatchUserMessage, bool, void *this_, int type,
{ {
if (sizeof(*chat_filter) < 10) if (sizeof(*chat_filter) < 10)
{ {
std::string tmp = {}; std::string tmp{};
std::string tmp2 = {}; std::string tmp2{};
int iii = 0; int iii{};
player_info_s info; player_info_s info;
g_IEngine->GetPlayerInfo(LOCAL_E->m_IDX, &info); g_IEngine->GetPlayerInfo(LOCAL_E->m_IDX, &info);
std::string name1 = info.name; std::string name1 = info.name;