Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/game/client/neo/ui/neo_root.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,7 @@ void CNeoRoot::MainLoopNewGame(const MainLoopParam param)
m_state = STATE_MAPLIST;
}
NeoUI::TextEdit(L"Hostname", m_newGame.wszHostname, SZWSZ_LEN(m_newGame.wszHostname));
NeoUI::SliderInt(L"Max players", &m_newGame.iMaxPlayers, 1, 32);
NeoUI::SliderInt(L"Max players", &m_newGame.iMaxPlayers, 1, MAX_PLAYERS-1); // -1 to accommodate SourceTV
NeoUI::TextEdit(L"Password", m_newGame.wszPassword, SZWSZ_LEN(m_newGame.wszPassword));
NeoUI::RingBoxBool(L"Friendly fire", &m_newGame.bFriendlyFire);
NeoUI::RingBoxBool(L"Use Steam networking", &m_newGame.bUseSteamNetworking);
Expand Down
2 changes: 2 additions & 0 deletions src/game/shared/shareddefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,8 @@ enum CastVote
//Since this is decided by the gamerules (and it can be whatever number as long as its less than MAX_PLAYERS).
#if defined( CSTRIKE_DLL )
#define MAX_PLAYERS 65 // Absolute max players supported
#elif defined( NEO )
#define MAX_PLAYERS 33 // Absolute max players supported
#elif defined( TF_DLL ) || defined ( TF_CLIENT_DLL ) || defined( HL2MP )
#define MAX_PLAYERS 101
#else
Expand Down