]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
remove debug output, old comments
authorMartin Taibr <taibr.martin@gmail.com>
Sun, 25 Aug 2019 21:02:51 +0000 (23:02 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Sun, 25 Aug 2019 21:02:51 +0000 (23:02 +0200)
qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc
qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc
qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc
qcsrc/common/mutators/mutator/overkill/sv_overkill.qc
qcsrc/common/t_items.qc

index 696e4ee314dd937f8d499d05e9dfdd1af3c9b781..95f760c47c53a8316293ef35cf7ef9e50393286e 100644 (file)
@@ -497,8 +497,6 @@ MUTATOR_HOOKFUNCTION(ca, GetPlayerStatus)
 
 MUTATOR_HOOKFUNCTION(ca, SetWeaponArena)
 {
-       LOG_INFOF("CA SetWeaponArena %s", autocvar_g_ca_weaponarena);
-       // most weapons arena
        if (M_ARGV(0, string) == "0" || M_ARGV(0, string) == "")
                M_ARGV(0, string) = autocvar_g_ca_weaponarena;
 }
index 550cc1b214bd189bcd2f46bb5448d928a41ec348..5d94da9d9a41990093089895a7e62d8ece85026e 100644 (file)
@@ -585,7 +585,6 @@ MUTATOR_HOOKFUNCTION(ft, TeamBalance_CheckAllowedTeams, CBC_ORDER_EXCLUSIVE)
 
 MUTATOR_HOOKFUNCTION(ft, SetWeaponArena)
 {
-       // most weapons arena
        if(M_ARGV(0, string) == "0" || M_ARGV(0, string) == "")
                M_ARGV(0, string) = autocvar_g_freezetag_weaponarena;
 }
index 52562fb54331c89c53b6ad05a4d00a2d9b845af5..bd6401d172931ea66eb07776258bc26258e8c1ca 100644 (file)
@@ -431,8 +431,6 @@ MUTATOR_HOOKFUNCTION(lms, CheckRules_World)
 
 MUTATOR_HOOKFUNCTION(lms, SetWeaponArena)
 {
-       LOG_INFOF("LMS SetWeaponArena %s", autocvar_g_ca_weaponarena);
-       // most weapons arena
        if(M_ARGV(0, string) == "0" || M_ARGV(0, string) == "")
                M_ARGV(0, string) = autocvar_g_lms_weaponarena;
 }
index c4a3ef928218c7d422786df245f550ee7608ab1e..41ba2da62b0ada5c48b9d9c1baa1dcdcb7074d2a 100644 (file)
@@ -269,7 +269,6 @@ MUTATOR_HOOKFUNCTION(ok, FilterItem)
 
 MUTATOR_HOOKFUNCTION(ok, SetStartItems, CBC_ORDER_LAST)
 {
-       LOG_INFOF("OK SetStartItems\n");
        WepSet ok_start_items = (WEPSET(OVERKILL_MACHINEGUN) | WEPSET(OVERKILL_NEX) | WEPSET(OVERKILL_SHOTGUN));
 
        if(WEP_OVERKILL_RPC.weaponstart > 0) { ok_start_items |= WEPSET(OVERKILL_RPC); }
@@ -281,7 +280,6 @@ MUTATOR_HOOKFUNCTION(ok, SetStartItems, CBC_ORDER_LAST)
 
 MUTATOR_HOOKFUNCTION(ok, SetWeaponArena)
 {
-       LOG_INFOF("OK SetWeaponArena\n");
        // turn weapon arena off
        M_ARGV(0, string) = "off";
 }
index 9695c7829a71a6e4daa62ff0dfc7d71a5069aaa6..429a013b185ea2e6a1c8240b35d904db1ef0a955 100644 (file)
@@ -1307,7 +1307,6 @@ void _StartItem(entity this, entity def, float defaultrespawntime, float default
                        this.is_item = true;
                }
 
-               LOG_INFOF("adding weapid 2: %d\n", weaponid);
                weaponsInMap |= WepSet_FromWeapon(Weapons_from(weaponid));
 
                if (   def.instanceOfPowerup