From: Mario Date: Sun, 29 Jan 2017 13:31:07 +0000 (+1000) Subject: Silence a spammy message if a weapon model's animation is a little bit broken X-Git-Tag: xonotic-v0.8.2~258 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=46cc30bdcefa9b9c3753bf2350a5e79fbc5f635b;p=xonotic%2Fxonotic-data.pk3dir.git Silence a spammy message if a weapon model's animation is a little bit broken --- diff --git a/qcsrc/common/util.qc b/qcsrc/common/util.qc index d83871080..38514e927 100644 --- a/qcsrc/common/util.qc +++ b/qcsrc/common/util.qc @@ -1078,17 +1078,17 @@ float compressShotOrigin(vector v) float rz = rint(v.z * 4) + 128; if(rx > 255 || rx < 0) { - LOG_INFO("shot origin ", vtos(v), " x out of bounds\n"); + LOG_DEBUG("shot origin ", vtos(v), " x out of bounds\n"); rx = bound(0, rx, 255); } if(ry > 255 || ry < 0) { - LOG_INFO("shot origin ", vtos(v), " y out of bounds\n"); + LOG_DEBUG("shot origin ", vtos(v), " y out of bounds\n"); ry = bound(0, ry, 255); } if(rz > 255 || rz < 0) { - LOG_INFO("shot origin ", vtos(v), " z out of bounds\n"); + LOG_DEBUG("shot origin ", vtos(v), " z out of bounds\n"); rz = bound(0, rz, 255); } return rx * 0x10000 + ry * 0x100 + rz;