From e172f505de8552c0d250b1f924094dcdc8bf8a6c Mon Sep 17 00:00:00 2001 From: Nikolay S Date: Sat, 7 Sep 2024 21:19:15 +0200 Subject: [PATCH] Fix demo record marker --- qcsrc/server/race.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index bc86c7f26..bc74000e5 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -70,11 +70,11 @@ void write_recordmarker(entity pl, float newpos, float tstart, float dt) // also write a marker into demo files for demotc-race-record-extractor to find if (pl.crypto_idfp != "") { stuffcmd(pl, - sprintf("//%s RECORD SET %s %f %f %f %f %s\n", strconv(2, 0, 0, GetGametype()), + sprintf("//%s RECORD SET %s %f %f %f %d %s\n", strconv(2, 0, 0, GetGametype()), TIME_ENCODED_TOSTRING(TIME_ENCODE(dt), false), tstart, dt, newpos, pl.crypto_idfp)); } else { stuffcmd(pl, - sprintf("//%s RECORD SET %s %f %f %f %f ANONYMOUS\n", strconv(2, 0, 0, GetGametype()), + sprintf("//%s RECORD SET %s %f %f %f %d ANONYMOUS\n", strconv(2, 0, 0, GetGametype()), TIME_ENCODED_TOSTRING(TIME_ENCODE(dt), false), tstart, dt, newpos)); } } -- 2.39.2