]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Hide useless "spawnpoint was used!" message
authorMario <zacjardine@y7mail.com>
Sun, 30 Aug 2015 12:57:14 +0000 (22:57 +1000)
committerMario <zacjardine@y7mail.com>
Sun, 30 Aug 2015 12:57:14 +0000 (22:57 +1000)
qcsrc/server/autocvars.qh
qcsrc/server/miscfunctions.qh
qcsrc/server/spawnpoints.qc
qcsrc/server/spawnpoints.qh

index a82efb706a46a4081f4e0754d71d4748ffe1a55b..9bbcb182349eba44ee0cea10b82bcad3513a6195 100644 (file)
@@ -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;
index 3b5767373629a3d61c87899565b37681e7614b30..f1f003820d1b8c736c48261847a34a83f4699164 100644 (file)
@@ -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);
index 6caba7c7db21777fba9a8261de6a5d8fb48a7989..b8045b4691a5398222a050a5ed31e2517f7932f6 100644 (file)
@@ -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()
index b654d83caf2af105857004642c06701259e7c691..e697001c18145e96233de28a8bfba1e436f59503 100644 (file)
@@ -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