From c1dc784e2eb08d41ccf56faf6b6ee9e49169f7ee Mon Sep 17 00:00:00 2001 From: samp-incognito Date: Sun, 22 May 2016 17:57:27 -0400 Subject: [PATCH] Fix position extrapolation bug --- src/streamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streamer.cpp b/src/streamer.cpp index f02c9b54..e9264bab 100644 --- a/src/streamer.cpp +++ b/src/streamer.cpp @@ -57,7 +57,7 @@ void Streamer::calculateAverageElapsedTime() { if (!(recordedTimes > 0).all()) { - boost::chrono::duration elapsedTime = currentTime - lastRecordedTime; + boost::chrono::duration elapsedTime = currentTime - lastRecordedTime; recordedTimes[(recordedTimes > 0).count()] = elapsedTime.count(); } else