Skip to content

Commit 8544dd6

Browse files
Fix credits restart offset
1 parent bee3536 commit 8544dd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Client/core/CCredits.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ void CCredits::Update()
370370
float fCurrentTop = 1.0f - 0.0001f * static_cast<float>(clock() - m_clkStart);
371371

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

0 commit comments

Comments
 (0)