From 314da3a1cccec4c1d5d657c602b7d14bbd8ca074 Mon Sep 17 00:00:00 2001 From: TimePath Date: Sat, 9 Sep 2017 13:10:26 +1000 Subject: [PATCH] Fix max_shot_distance --- qcsrc/server/teamplay.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.39.2