From: TimePath Date: Sat, 9 Sep 2017 03:10:26 +0000 (+1000) Subject: Fix max_shot_distance X-Git-Tag: xonotic-v0.8.5~2477 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=314da3a1cccec4c1d5d657c602b7d14bbd8ca074;p=xonotic%2Fxonotic-data.pk3dir.git Fix max_shot_distance --- diff --git a/qcsrc/server/teamplay.qc b/qcsrc/server/teamplay.qc index 24e9a5221..12aca2133 100644 --- a/qcsrc/server/teamplay.qc +++ b/qcsrc/server/teamplay.qc @@ -47,7 +47,7 @@ void InitGameplayMode() int done = 0; for (int i = 0, n = numentityfields(); i < n; ++i) { string k = entityfieldname(i); vector v = (k == "mins") ? mi_min : (k == "maxs") ? mi_max : '0 0 0'; if (v) { - putentityfieldstring(i, world, sprintf("%d %d %d", v)); + putentityfieldstring(i, world, sprintf("%v", v)); if (++done == 2) break; } }