mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
grab Z from replay origin for dynamic time diff (#970)
This commit is contained in:
parent
b7114c2854
commit
a4f471479c
@ -2811,7 +2811,7 @@ float GetClosestReplayTime(int client, int style, int track)
|
||||
|
||||
for(int frame = iStartFrame; frame < iEndFrame; frame++)
|
||||
{
|
||||
gA_Frames[style][track].GetArray(frame, fReplayPos, 2);
|
||||
gA_Frames[style][track].GetArray(frame, fReplayPos, 3);
|
||||
|
||||
float dist = GetVectorDistance(fClientPos, fReplayPos, true);
|
||||
if(dist < fMinDist)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user