mirror of
https://github.com/rehlds/rehlds.git
synced 2025-04-23 23:03:32 +03:00
Tabify and formatting.
This commit is contained in:
parent
79164dc618
commit
be5b192ed0
@ -695,15 +695,19 @@ bool CSendToCall::compareInputArgs(IEngExtCall* other, bool strict)
|
|||||||
if (strict) {
|
if (strict) {
|
||||||
if (otherCall->m_Len != m_Len)
|
if (otherCall->m_Len != m_Len)
|
||||||
return false;
|
return false;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
int maxDiff;
|
int maxDiff;
|
||||||
if (m_Len < 40) {
|
if (m_Len < 40) {
|
||||||
maxDiff = 10;
|
maxDiff = 10;
|
||||||
} else if (m_Len < 90) {
|
}
|
||||||
|
else if (m_Len < 90) {
|
||||||
maxDiff = 15;
|
maxDiff = 15;
|
||||||
} else if (m_Len < 120) {
|
}
|
||||||
|
else if (m_Len < 120) {
|
||||||
maxDiff = 18;
|
maxDiff = 18;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
maxDiff = m_Len / 8;
|
maxDiff = m_Len / 8;
|
||||||
}
|
}
|
||||||
if (abs(otherCall->m_Len - m_Len) > maxDiff)
|
if (abs(otherCall->m_Len - m_Len) > maxDiff)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user