diff options
author | Andrey Nazarov <skuller@skuller.net> | 2009-09-04 15:53:16 +0000 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2009-09-04 15:53:16 +0000 |
commit | a63351b924daa288b120af78607434ca5acc60d8 (patch) | |
tree | 902f9b525cf107ee27cee2788ddaedfe313b8a8d /source/ui_multiplayer.c | |
parent | b96aee6bda286ae78d7821a2dfd21582daa05ba3 (diff) |
Changed Com_DPrintf, Com_WPrintf and Com_EPrintf functions to macros.
Introduced Com_LPrintf, FS_DPrintf, SV_DPrintf.
Don't include any developer code at all unless built with _DEBUG.
Diffstat (limited to 'source/ui_multiplayer.c')
-rw-r--r-- | source/ui_multiplayer.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/ui_multiplayer.c b/source/ui_multiplayer.c index b7beec8..15d1786 100644 --- a/source/ui_multiplayer.c +++ b/source/ui_multiplayer.c @@ -147,18 +147,18 @@ void UI_AddToServerList( const serverStatus_t *status ) { map = Info_ValueForKey( info, "mapname" ); if( !map[0] ) { map = "???"; - } else { + } /*else { Q_snprintf( value, sizeof( value ), "maps/%s.bsp", map ); if( FS_LoadFile( value, NULL ) == INVALID_LENGTH ) { Q_concat( value, sizeof( value ), S_COLOR_RED, map, NULL ); map = value; } - } + }*/ j = atoi( Info_ValueForKey( info, "maxclients" ) ); k = atoi( Info_ValueForKey( info, "needpass" ) ); - Q_snprintf( key, sizeof( key ), "%s%d/%d", - status->numPlayers < j ? k > 0 ? S_COLOR_YELLOW : "" : S_COLOR_RED, + Q_snprintf( key, sizeof( key ), "%d/%d", + //status->numPlayers < j ? k > 0 ? S_COLOR_YELLOW : "" : S_COLOR_RED, status->numPlayers, j ); if( m_join.names[i] ) { |