From: Mario Date: Sun, 30 Aug 2015 12:57:14 +0000 (+1000) Subject: Hide useless "spawnpoint was used!" message X-Git-Tag: xonotic-v0.8.2~1950 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=1ec6e8421fec0697bdfbe6fa6e764118a893d3da;p=xonotic%2Fxonotic-data.pk3dir.git Hide useless "spawnpoint was used!" message --- diff --git a/qcsrc/server/autocvars.qh b/qcsrc/server/autocvars.qh index a82efb706..9bbcb1823 100644 --- a/qcsrc/server/autocvars.qh +++ b/qcsrc/server/autocvars.qh @@ -797,9 +797,8 @@ bool autocvar_g_overkill_100a_anyway; bool autocvar_g_overkill_ammo_charge; float autocvar_g_overkill_ammo_charge_notice; float autocvar_g_overkill_ammo_charge_limit; -int autocvar_g_spawn_near_teammate; float autocvar_g_spawn_near_teammate_distance; -bool autocvar_g_spawn_near_teammate_ignore_spawnpoint; +int autocvar_g_spawn_near_teammate_ignore_spawnpoint; float autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay; float autocvar_g_spawn_near_teammate_ignore_spawnpoint_delay_death; float autocvar_g_onslaught_debug; diff --git a/qcsrc/server/miscfunctions.qh b/qcsrc/server/miscfunctions.qh index 3b5767373..f1f003820 100644 --- a/qcsrc/server/miscfunctions.qh +++ b/qcsrc/server/miscfunctions.qh @@ -76,8 +76,6 @@ float DistributeEvenly_amount; float DistributeEvenly_totalweight; void objerror(string s); void droptofloor(); -void() spawnfunc_info_player_deathmatch; // needed for the other spawnpoints -void() spawnpoint_use; void() SUB_Remove; void attach_sameorigin(entity e, entity to, string tag); diff --git a/qcsrc/server/spawnpoints.qc b/qcsrc/server/spawnpoints.qc index 6caba7c7d..b8045b469 100644 --- a/qcsrc/server/spawnpoints.qc +++ b/qcsrc/server/spawnpoints.qc @@ -53,7 +53,7 @@ void spawnpoint_use() self.team = activator.team; some_spawn_has_been_used = 1; } - LOG_INFO("spawnpoint was used!\n"); + //LOG_INFO("spawnpoint was used!\n"); } void relocate_spawnpoint() diff --git a/qcsrc/server/spawnpoints.qh b/qcsrc/server/spawnpoints.qh index b654d83ca..e697001c1 100644 --- a/qcsrc/server/spawnpoints.qh +++ b/qcsrc/server/spawnpoints.qh @@ -6,4 +6,6 @@ float spawnpoint_nag; float SpawnEvent_Send(entity to, int sf); entity Spawn_FilterOutBadSpots(entity firstspot, float mindist, float teamcheck); entity SelectSpawnPoint (float anypoint); +void spawnfunc_info_player_deathmatch(); +void spawnpoint_use(); #endif