MCPcopy Create free account
hub / github.com/ddnet/ddnet / CanSpec

Method CanSpec

src/game/server/player.cpp:798–801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

796}
797
798bool CPlayer::CanSpec() const
799{
800 return m_pCharacter->IsGrounded() && m_pCharacter->m_Pos == m_pCharacter->m_PrevPos;
801}
802
803void CPlayer::ProcessPause()
804{

Callers 1

LoadMethod · 0.80

Calls 1

IsGroundedMethod · 0.45

Tested by

no test coverage detected