mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-04-22 13:55:43 +00:00
Intify
This commit is contained in:
parent
59ba4c1713
commit
b5bfc5ebd2
@ -699,7 +699,7 @@ targetObjUpdateTraced(obj, daDist, ent, theTime)
|
||||
timeMulti = 1 - ((daDist - distClose) / (distMax - distClose));
|
||||
|
||||
obj.no_trace_time = 0;
|
||||
obj.trace_time += 50 * timeMulti;
|
||||
obj.trace_time += int(50 * timeMulti);
|
||||
obj.dist = daDist;
|
||||
obj.last_seen_pos = ent.origin;
|
||||
obj.trace_time_time = theTime;
|
||||
|
Loading…
x
Reference in New Issue
Block a user