2
0
mirror of https://github.com/rehlds/rehlds.git synced 2025-04-24 23:33:34 +03:00

Tabify and formatting.

This commit is contained in:
Lev 2017-01-25 15:16:48 +05:00
parent 79164dc618
commit be5b192ed0

View File

@ -695,15 +695,19 @@ bool CSendToCall::compareInputArgs(IEngExtCall* other, bool strict)
if (strict) {
if (otherCall->m_Len != m_Len)
return false;
} else {
}
else {
int maxDiff;
if (m_Len < 40) {
maxDiff = 10;
} else if (m_Len < 90) {
}
else if (m_Len < 90) {
maxDiff = 15;
} else if (m_Len < 120) {
}
else if (m_Len < 120) {
maxDiff = 18;
} else {
}
else {
maxDiff = m_Len / 8;
}
if (abs(otherCall->m_Len - m_Len) > maxDiff)