Correct several typos

This commit is contained in:
2025-07-15 16:00:16 -03:00
parent aa6cddda53
commit e689f47c9b
4 changed files with 11 additions and 11 deletions

View File

@@ -618,5 +618,5 @@ void CG_InitConsoleCommands( void ) {
trap_AddCommand ("teamvote");
trap_AddCommand ("stats");
trap_AddCommand ("teamtask");
trap_AddCommand ("loaddefered"); // spelled wrong, but not changing for demo
trap_AddCommand ("loaddeferred");
}

View File

@@ -1335,7 +1335,7 @@ static void CG_ServerCommand( void ) {
}
// loaddeferred can be both a servercmd and a consolecmd
if ( !strcmp( cmd, "loaddefered" ) ) { // FIXME: spelled wrong, but not changing for demo
if ( !strcmp( cmd, "loaddeferred" ) ) {
CG_LoadDeferredPlayers();
return;
}

View File

@@ -763,7 +763,7 @@ void Svcmd_AddBot_f( void ) {
// go ahead and load the bot's media immediately
if ( level.time - level.startTime > 1000 &&
trap_Cvar_VariableIntegerValue( "cl_running" ) ) {
trap_SendServerCommand( -1, "loaddefered\n" ); // FIXME: spelled wrong, but not changing for demo
trap_SendServerCommand( -1, "loaddeferred\n" );
}
}

View File

@@ -899,43 +899,43 @@ static void ServerOptions_Start( void ) {
case GT_TEAM:
trap_Cvar_SetValue( "ui_team_fraglimit", fraglimit );
trap_Cvar_SetValue( "ui_team_timelimit", timelimit );
trap_Cvar_SetValue( "ui_team_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_team_friendly", friendlyfire );
break;
case GT_CTF:
trap_Cvar_SetValue( "ui_ctf_fraglimit", fraglimit );
trap_Cvar_SetValue( "ui_ctf_timelimit", timelimit );
trap_Cvar_SetValue( "ui_ctf_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_ctf_friendly", friendlyfire );
break;
case GT_1FCTF:
trap_Cvar_SetValue( "ui_1fctf_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_1fctf_timelimit", timelimit );
trap_Cvar_SetValue( "ui_1fctf_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_1fctf_friendly", friendlyfire );
break;
case GT_OBELISK:
trap_Cvar_SetValue( "ui_overload_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_overload_timelimit", timelimit );
trap_Cvar_SetValue( "ui_overload_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_overload_friendly", friendlyfire );
break;
case GT_HARVESTER:
trap_Cvar_SetValue( "ui_harvester_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_harvester_timelimit", timelimit );
trap_Cvar_SetValue( "ui_harvester_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_harvester_friendly", friendlyfire );
break;
case GT_ELIMINATION:
trap_Cvar_SetValue( "ui_elimination_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_elimination_timelimit", timelimit );
//trap_Cvar_SetValue( "ui_elimination_friendlt", friendlyfire );
//trap_Cvar_SetValue( "ui_elimination_friendly", friendlyfire );
break;
case GT_CTF_ELIMINATION:
trap_Cvar_SetValue( "ui_ctf_elimination_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_ctf_elimination_timelimit", timelimit );
//trap_Cvar_SetValue( "ui_ctf_elimination_friendlt", friendlyfire );
//trap_Cvar_SetValue( "ui_ctf_elimination_friendly", friendlyfire );
break;
case GT_LMS:
@@ -946,7 +946,7 @@ static void ServerOptions_Start( void ) {
case GT_DOUBLE_D:
trap_Cvar_SetValue( "ui_dd_capturelimit", fraglimit );
trap_Cvar_SetValue( "ui_dd_timelimit", timelimit );
trap_Cvar_SetValue( "ui_dd_friendlt", friendlyfire );
trap_Cvar_SetValue( "ui_dd_friendly", friendlyfire );
break;
}