Skip to content

Commit

Permalink
Fix credits restart offset
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen authored Oct 1, 2021
1 parent bee3536 commit 8544dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Client/core/CCredits.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ void CCredits::Update()
float fCurrentTop = 1.0f - 0.0001f * static_cast<float>(clock() - m_clkStart);

// If we're too far down or up, make sure we restart next pulse
if (fCurrentTop <= -8.0f || fCurrentTop >= 1.0f)
if (fCurrentTop <= -11.0f || fCurrentTop >= 1.0f)
{
m_clkStart = clock();
}
Expand Down

0 comments on commit 8544dd6

Please sign in to comment.