Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ddnet/ddnet
/ GameFlags_ClampToSix
Function
GameFlags_ClampToSix
src/engine/shared/protocolglue.cpp:46–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
}
45
46
int GameFlags_ClampToSix(int Flags)
47
{
48
int Six = 0;
49
if(Flags & GAMEFLAG_TEAMS)
50
Six |= GAMEFLAG_TEAMS;
51
if(Flags & GAMEFLAG_FLAGS)
52
Six |= GAMEFLAG_FLAGS;
53
return Six;
54
}
55
56
int PlayerFlags_SevenToSix(int Flags)
57
{
Callers
1
Snap
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected