mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2026-12-04 23:08:39 +00:00
Intify
This commit is contained in:
1 parent
59ba4c1713
commit
b5bfc5ebd2
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user