Fix logic error.

This commit is contained in:
Bartosz Taudul 2019-11-09 23:57:08 +01:00
parent b3698ebb0f
commit 3a317c81c6

View File

@ -959,7 +959,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask, bool bgTasks )
s_loadProgress.subTotal.store( ctx->count, std::memory_order_relaxed ); s_loadProgress.subTotal.store( ctx->count, std::memory_order_relaxed );
s_loadProgress.subProgress.store( 0, std::memory_order_relaxed ); s_loadProgress.subProgress.store( 0, std::memory_order_relaxed );
} }
else if( fileVer >= FileVersion( 0, 5, 10 ) ) if( fileVer >= FileVersion( 0, 5, 10 ) )
{ {
uint64_t tdsz; uint64_t tdsz;
f.Read( tdsz ); f.Read( tdsz );