mirror of
https://github.com/ddnet/ddnet.git
synced 2024-10-21 00:08:19 +00:00
386935f5cf
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. |
||
---|---|---|
.. | ||
entities | ||
entity.cpp | ||
entity.h | ||
gameworld.cpp | ||
gameworld.h |