From: Nikolay S Date: Sat, 7 Sep 2024 18:16:48 +0000 (+0200) Subject: Fix demo record marker X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c64e14cb383c648360ce924790274a56631398bb;p=xonotic%2Fxonotic-data.pk3dir.git Fix demo record marker --- diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index e882c9677..bc86c7f26 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 %s\n", strconv(2, 0, 0, GetGametype()), + sprintf("//%s RECORD SET %s %f %f %f %f %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 ANONYMOUS\n", strconv(2, 0, 0, GetGametype()), + sprintf("//%s RECORD SET %s %f %f %f %f ANONYMOUS\n", strconv(2, 0, 0, GetGametype()), TIME_ENCODED_TOSTRING(TIME_ENCODE(dt), false), tstart, dt, newpos)); } }