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: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=commitdiff_plain;h=46cc30bdcefa9b9c3753bf2350a5e79fbc5f635b;ds=sidebyside 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 d83871080d..38514e9270 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;