Fix backtrack issues
This commit is contained in:
parent
09d105adcc
commit
7125e94f49
@ -302,11 +302,13 @@ float getLatency()
|
|||||||
|
|
||||||
int getTicks()
|
int getTicks()
|
||||||
{
|
{
|
||||||
return max(min(*latency / 15, 65), 12);
|
return max(min(int(*latency / 200.0f * 13.0f) + 12, 65), 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
int getTicks2()
|
int getTicks2()
|
||||||
{
|
{
|
||||||
return (*latency > 800 || *latency < 200) ? 12 : 24;
|
// Removed for now
|
||||||
|
//return (*latency > 800 || *latency < 200) ? 12 : 24;
|
||||||
|
12;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ DEFINE_HOOKED_METHOD(DispatchUserMessage, bool, void *this_, int type,
|
|||||||
}
|
}
|
||||||
if (chat_filter_enable && data[0] != LOCAL_E->m_IDX)
|
if (chat_filter_enable && data[0] != LOCAL_E->m_IDX)
|
||||||
{
|
{
|
||||||
if (chat_filter.toString() != "")
|
if (sizeof(*chat_filter) > 5)
|
||||||
{
|
{
|
||||||
std::string tmp = {};
|
std::string tmp = {};
|
||||||
std::string tmp2 = {};
|
std::string tmp2 = {};
|
||||||
|
Reference in New Issue
Block a user