MCPcopy Create free account
hub / github.com/assaultcube/AC / defaultgamelimit

Function defaultgamelimit

source/src/protocol.cpp:517–517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515const char *mmfullname(int n) { return (n>=0 && n < MM_NUM) ? mmfullnames[n] : "unknown"; }
516
517int defaultgamelimit(int gamemode) { return m_teammode ? 15 : 10; }
518
519int gmode_possible(bool hasffaspawns, bool hasteamspawns, bool hasflags) // return bitmask of playable modes, according to existing spawn and flag entities
520{

Callers 2

resetserverFunction · 0.85
votestringFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected