Skip to content

Commit

Permalink
Fix position extrapolation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
samp-incognito committed May 22, 2016
1 parent 2fcf816 commit c1dc784
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streamer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ void Streamer::calculateAverageElapsedTime()
{
if (!(recordedTimes > 0).all())
{
boost::chrono::duration<float, boost::milli> elapsedTime = currentTime - lastRecordedTime;
boost::chrono::duration<float> elapsedTime = currentTime - lastRecordedTime;
recordedTimes[(recordedTimes > 0).count()] = elapsedTime.count();
}
else
Expand Down

0 comments on commit c1dc784

Please sign in to comment.