Fix paused frame overflow, thanks Rye!

This commit is contained in:
Lirusaito
2019-07-31 14:22:27 -04:00
parent aee0e75971
commit 2580ca7afd
13 changed files with 21 additions and 21 deletions

View File

@@ -90,7 +90,7 @@
bool operator==(AISyncKey const& key1, AISyncKey const& key2)
{
// Test if these keys match based on time.
if (std::abs((S32)(key1.mStartFrameCount - key2.mStartFrameCount)) > 1 &&
if (std::abs((key1.mStartFrameCount - key2.mStartFrameCount)) > 1 &&
std::abs(key1.mFrameTimer.getStartTime() - key2.mFrameTimer.getStartTime()) >= sSyncKeyExpirationTime)
{
return false;
@@ -420,7 +420,7 @@ void AISyncServerMap::remove_server(AISyncServer* server)
#include <boost/io/ios_state.hpp>
//static
U32 LLFrameTimer::sFrameCount;
U64 LLFrameTimer::sFrameCount;
double innerloop_count = 0;