diff --git a/src/game/client/prediction/entities/character.cpp b/src/game/client/prediction/entities/character.cpp index b395546a4..493e0f251 100644 --- a/src/game/client/prediction/entities/character.cpp +++ b/src/game/client/prediction/entities/character.cpp @@ -580,7 +580,7 @@ void CCharacter::Tick() m_PrevPos = m_Core.m_Pos; } -void CCharacter::TickDefered() +void CCharacter::TickDeferred() { m_Core.Move(); m_Core.Quantize(); diff --git a/src/game/client/prediction/entities/character.h b/src/game/client/prediction/entities/character.h index 2c17cc934..26528fcf7 100644 --- a/src/game/client/prediction/entities/character.h +++ b/src/game/client/prediction/entities/character.h @@ -37,7 +37,7 @@ public: static const int ms_PhysSize = 28; void Tick() override; - void TickDefered() override; + void TickDeferred() override; bool IsGrounded(); diff --git a/src/game/client/prediction/entity.h b/src/game/client/prediction/entity.h index ad23c4c9a..d89b3aa78 100644 --- a/src/game/client/prediction/entity.h +++ b/src/game/client/prediction/entity.h @@ -53,7 +53,7 @@ public: void Destroy() { delete this; } virtual void Tick() {} - virtual void TickDefered() {} + virtual void TickDeferred() {} bool GameLayerClipped(vec2 CheckPos); float m_ProximityRadius; diff --git a/src/game/client/prediction/gameworld.cpp b/src/game/client/prediction/gameworld.cpp index 1f197747f..8868c357c 100644 --- a/src/game/client/prediction/gameworld.cpp +++ b/src/game/client/prediction/gameworld.cpp @@ -199,7 +199,7 @@ void CGameWorld::Tick() for(; pEnt;) { m_pNextTraverseEntity = pEnt->m_pNextTypeEntity; - pEnt->TickDefered(); + pEnt->TickDeferred(); pEnt->m_SnapTicks++; pEnt = m_pNextTraverseEntity; } diff --git a/src/game/server/entities/character.cpp b/src/game/server/entities/character.cpp index 507bd1c63..19d7db7e8 100644 --- a/src/game/server/entities/character.cpp +++ b/src/game/server/entities/character.cpp @@ -764,7 +764,7 @@ void CCharacter::Tick() m_PrevPos = m_Core.m_Pos; } -void CCharacter::TickDefered() +void CCharacter::TickDeferred() { // advance the dummy { diff --git a/src/game/server/entities/character.h b/src/game/server/entities/character.h index d69d42652..4e05d48af 100644 --- a/src/game/server/entities/character.h +++ b/src/game/server/entities/character.h @@ -34,7 +34,7 @@ public: void Reset() override; void Destroy() override; void Tick() override; - void TickDefered() override; + void TickDeferred() override; void TickPaused() override; void Snap(int SnappingClient) override; void SwapClients(int Client1, int Client2) override; diff --git a/src/game/server/entity.h b/src/game/server/entity.h index 086711298..c897a9073 100644 --- a/src/game/server/entity.h +++ b/src/game/server/entity.h @@ -94,10 +94,10 @@ public: // TODO: Maybe make protected virtual void Tick() {} /* - Function: TickDefered + Function: TickDeferred Called after all entities Tick() function has been called. */ - virtual void TickDefered() {} + virtual void TickDeferred() {} /* Function: TickPaused diff --git a/src/game/server/gameworld.cpp b/src/game/server/gameworld.cpp index 054e4b36f..6569c2fa3 100644 --- a/src/game/server/gameworld.cpp +++ b/src/game/server/gameworld.cpp @@ -280,7 +280,7 @@ void CGameWorld::Tick() for(; pEnt;) { m_pNextTraverseEntity = pEnt->m_pNextTypeEntity; - pEnt->TickDefered(); + pEnt->TickDeferred(); pEnt = m_pNextTraverseEntity; } }