From: Martin Taibr Date: Sun, 25 Aug 2019 21:02:51 +0000 (+0200) Subject: remove debug output, old comments X-Git-Tag: xonotic-v0.8.5~1360^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f6e7de9c845f26f9c4f68ab2eb21d61e92fed2f1;p=xonotic%2Fxonotic-data.pk3dir.git remove debug output, old comments --- diff --git a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc index 696e4ee31..95f760c47 100644 --- a/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc +++ b/qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc @@ -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; } diff --git a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc index 550cc1b21..5d94da9d9 100644 --- a/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc +++ b/qcsrc/common/gamemodes/gamemode/freezetag/sv_freezetag.qc @@ -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; } diff --git a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc index 52562fb54..bd6401d17 100644 --- a/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc +++ b/qcsrc/common/gamemodes/gamemode/lms/sv_lms.qc @@ -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; } diff --git a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc index c4a3ef928..41ba2da62 100644 --- a/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc +++ b/qcsrc/common/mutators/mutator/overkill/sv_overkill.qc @@ -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"; } diff --git a/qcsrc/common/t_items.qc b/qcsrc/common/t_items.qc index 9695c7829..429a013b1 100644 --- a/qcsrc/common/t_items.qc +++ b/qcsrc/common/t_items.qc @@ -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