Fixed openmohaa console not executing anything

This commit is contained in:
Ley0k 2017-02-19 22:00:42 +01:00
parent 563565bbf2
commit 83da6f144e
2 changed files with 5 additions and 1 deletions

View file

@ -120,3 +120,7 @@ void Key_GetKeysForCommand( const char *command, int *key1, int *key2 ) {
void SCR_DebugGraph( float value, int color ) {
}
qboolean CL_FinishedIntro( void ) {
return qtrue;
}

View file

@ -460,7 +460,7 @@ void SV_ChangeMaxClients( void ) {
// get the highest client number in use
count = 0;
for ( i = 0 ; i < sv_maxclients->integer ; i++ ) {
for ( i = 0 ; i < svs.iNumClients ; i++ ) {
if ( svs.clients[i].state >= CS_CONNECTED ) {
if (i > count)
count = i;