ddnet/src/game/client/prediction
Alexander Akulich 386935f5cf Character: Incapsulate m_MoveRestrictions and m_Core
Instead of leaking the m_MoveRestrictions to all classes which needs to
adjust the Character velocity, add a setter which takes into account those
restrictions.

The shotgun bug replication requires an access to the Velocity without the
restrictions applied (so we have to have this dirty setter).

Expose only *const* CCharacterCore to force the setters usage and prevent
incorrect write.
2024-01-21 20:59:50 +03:00
..
entities Character: Incapsulate m_MoveRestrictions and m_Core 2024-01-21 20:59:50 +03:00
entity.cpp Fix heap-use-after-free in CGameWorld::RemoveEntity 2022-06-26 11:28:23 +02:00
entity.h World cleanup 2023-09-15 18:04:29 +03:00
gameworld.cpp Character: Incapsulate m_MoveRestrictions and m_Core 2024-01-21 20:59:50 +03:00
gameworld.h Fix readability-make-member-function-const 2023-12-14 23:38:03 +01:00