Skip to content

Commit c1dc784

Browse files
author
samp-incognito
committed
Fix position extrapolation bug
1 parent 2fcf816 commit c1dc784

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/streamer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ void Streamer::calculateAverageElapsedTime()
5757
{
5858
if (!(recordedTimes > 0).all())
5959
{
60-
boost::chrono::duration<float, boost::milli> elapsedTime = currentTime - lastRecordedTime;
60+
boost::chrono::duration<float> elapsedTime = currentTime - lastRecordedTime;
6161
recordedTimes[(recordedTimes > 0).count()] = elapsedTime.count();
6262
}
6363
else

0 commit comments

Comments
 (0)