Merge pull request #8234 from ChillerDragon/pr_typo_reckoning

Fix reckoning typo in comment
This commit is contained in:
Dennis Felsing 2024-04-20 02:18:52 +00:00 committed by GitHub
commit b35503273c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -878,7 +878,7 @@ void CCharacter::TickDeferred()
m_ReckoningCore.Write(&Predicted);
m_Core.Write(&Current);
// only allow dead reackoning for a top of 3 seconds
// only allow dead reckoning for a top of 3 seconds
if(m_Core.m_Reset || m_ReckoningTick + Server()->TickSpeed() * 3 < Server()->Tick() || mem_comp(&Predicted, &Current, sizeof(CNetObj_Character)) != 0)
{
m_ReckoningTick = Server()->Tick();