]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Dynamic handicap: removed debug code.
authorLyberta <lyberta@lyberta.net>
Sat, 16 Sep 2017 02:33:26 +0000 (05:33 +0300)
committerLyberta <lyberta@lyberta.net>
Sat, 16 Sep 2017 02:33:26 +0000 (05:33 +0300)
qcsrc/common/mutators/mutator/dynamic_handicap/sv_dynamic_handicap.qc

index 817e561859194cdbec01d457966d55e14876c60a..5549085e7399d76e89018840cf1790271ce1e72d 100644 (file)
@@ -38,11 +38,8 @@ float DynamicHandicap_ClampHandicap(float handicap);
 void DynamicHandicap_UpdateHandicap(entity player)
 {
        float handicap = DynamicHandicap_GetBaseValue(player);
-       //PrintToChat(player, strcat("Base handicap = ", ftos(handicap)));
        handicap = DynamicHandicap_ScaleHandicap(handicap);
-       //PrintToChat(player, strcat("Scaled handicap = ", ftos(handicap)));
        handicap = DynamicHandicap_ClampHandicap(handicap);
-       //PrintToChat(player, strcat("Clamped handicap = ", ftos(handicap)));
        Handicap_SetForcedHandicap(player, handicap);
 }