aim: tweak prediction time
This commit is contained in:
parent
d73c97b6ae
commit
000a941139
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ Vector Bot::getBodyOffsetError (float distance) {
|
||||||
Vector compensation = nullptr;
|
Vector compensation = nullptr;
|
||||||
|
|
||||||
if (!usesSniper ()) {
|
if (!usesSniper ()) {
|
||||||
compensation = (m_enemy->v.velocity - pev->velocity) * m_frameInterval * (distance < kSprayDistance ? 6.0f : 3.0f);
|
compensation = (m_enemy->v.velocity - pev->velocity) * m_frameInterval * (distance < kSprayDistance ? 4.0f : 1.5f);
|
||||||
compensation.z = 0.0f;
|
compensation.z = 0.0f;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue