mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-27 00:04:35 +00:00
Hackfix for broken lock terminate times.
This commit is contained in:
parent
5e20b3f28a
commit
3db3952135
@ -622,6 +622,7 @@ Worker::Worker( FileRead& f, EventType::Type eventMask )
|
|||||||
f.Read2( lockmap.timeAnnounce, lockmap.timeTerminate );
|
f.Read2( lockmap.timeAnnounce, lockmap.timeTerminate );
|
||||||
lockmap.timeAnnounce -= m_data.baseTime;
|
lockmap.timeAnnounce -= m_data.baseTime;
|
||||||
lockmap.timeTerminate -= m_data.baseTime;
|
lockmap.timeTerminate -= m_data.baseTime;
|
||||||
|
if( lockmap.timeTerminate < lockmap.timeAnnounce ) lockmap.timeTerminate = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user