Merge remote-tracking branch 'nullworks/newui'

This commit is contained in:
TotallyNotElite 2018-08-04 21:51:00 +02:00
commit 3bcfe3c7fb
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ float getLatency()
int getTicks()
{
return max(min(int(*latency / 200.0f * 13.0f) + 12, 65), 12);
return max(min(int(*latency / 200.0f * 13.0f), 65), 12);
}
int getTicks2()

View File

@ -71,7 +71,7 @@ DEFINE_HOOKED_METHOD(DispatchUserMessage, bool, void *this_, int type,
}
if (chat_filter_enable && data[0] != LOCAL_E->m_IDX)
{
if (sizeof(*chat_filter) > 5)
if (sizeof(*chat_filter) < 10)
{
std::string tmp = {};
std::string tmp2 = {};