mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-04-25 23:29:12 +00:00
Fix
This commit is contained in:
parent
d8eb767a6f
commit
1e5c65eafb
@ -2370,7 +2370,7 @@ bot_lookat(pos, time, vel)
|
||||
if (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
|
||||
|
||||
pos += (vel * 0.05) * (steps - 1); // add the velocity vector
|
||||
|
Loading…
x
Reference in New Issue
Block a user