Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
798
bool CPlayer::CanSpec() const
799
{
800
return m_pCharacter->IsGrounded() && m_pCharacter->m_Pos == m_pCharacter->m_PrevPos;
801
}
802
803
void CPlayer::ProcessPause()
804
{
Callers
1
Load
Method · 0.80
Calls
1
IsGrounded
Method · 0.45
Tested by
no test coverage detected