mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-26 07:34:50 +00:00
Fix
This commit is contained in:
parent
d8eb767a6f
commit
1e5c65eafb
@ -2370,7 +2370,7 @@ bot_lookat(pos, time, vel)
|
|||||||
if (steps < 1)
|
if (steps < 1)
|
||||||
steps = 1;
|
steps = 1;
|
||||||
|
|
||||||
myEye = self GetEyePos(); // get our eye pos
|
myEye = self GetEye(); // get our eye pos
|
||||||
myEye += (self getVelocity() * 0.05) * (steps - 1); // account for our velocity
|
myEye += (self getVelocity() * 0.05) * (steps - 1); // account for our velocity
|
||||||
|
|
||||||
pos += (vel * 0.05) * (steps - 1); // add the velocity vector
|
pos += (vel * 0.05) * (steps - 1); // add the velocity vector
|
||||||
|
Loading…
x
Reference in New Issue
Block a user