mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Fixed openmohaa console not executing anything
This commit is contained in:
parent
563565bbf2
commit
83da6f144e
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue