Browse Source

engine: server: fix output of maps command

pull/2/head
Alibek Omarov 3 years ago
parent
commit
0d195ee6fe
  1. 6
      engine/server/sv_cmds.c

6
engine/server/sv_cmds.c

@ -265,7 +265,7 @@ void SV_Maps_f( void )
Mem_Free( mapList ); Mem_Free( mapList );
Msg( "%s\nDirectory: \"%s/maps\" - Maps listed: %d\n", separator, GI->basedir, nummaps ); Msg( "%s\nDirectory: \"%s/maps\" - Maps listed: %d\n", separator, GI->gamefolder, nummaps );
} }
/* /*
@ -763,7 +763,7 @@ void SV_ServerInfo_f( void )
{ {
Con_Printf( "Server info settings:\n" ); Con_Printf( "Server info settings:\n" );
Info_Print( svs.serverinfo ); Info_Print( svs.serverinfo );
Con_Printf( "Total %i symbols\n", Q_strlen( svs.serverinfo )); Con_Printf( "Total %lu symbols\n", Q_strlen( svs.serverinfo ));
return; return;
} }
@ -805,7 +805,7 @@ void SV_LocalInfo_f( void )
{ {
Con_Printf( "Local info settings:\n" ); Con_Printf( "Local info settings:\n" );
Info_Print( svs.localinfo ); Info_Print( svs.localinfo );
Con_Printf( "Total %i symbols\n", Q_strlen( svs.localinfo )); Con_Printf( "Total %lu symbols\n", Q_strlen( svs.localinfo ));
return; return;
} }

Loading…
Cancel
Save