diff --git a/code/cgame/cg_consolecmds.c b/code/cgame/cg_consolecmds.c index 5337460..e1739af 100644 --- a/code/cgame/cg_consolecmds.c +++ b/code/cgame/cg_consolecmds.c @@ -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"); } diff --git a/code/cgame/cg_servercmds.c b/code/cgame/cg_servercmds.c index 7b644ec..1ac3d78 100644 --- a/code/cgame/cg_servercmds.c +++ b/code/cgame/cg_servercmds.c @@ -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; } diff --git a/code/game/g_bot.c b/code/game/g_bot.c index d7538bc..107146b 100644 --- a/code/game/g_bot.c +++ b/code/game/g_bot.c @@ -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" ); } } diff --git a/code/q3_ui/ui_startserver.c b/code/q3_ui/ui_startserver.c index 5014c6f..8c3a8e7 100644 --- a/code/q3_ui/ui_startserver.c +++ b/code/q3_ui/ui_startserver.c @@ -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; }