From: Morosophos Date: Thu, 15 Oct 2020 15:53:31 +0000 (+0300) Subject: Include player entity id into :recordset: log message X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=2db946fcd3d11d30987af5cdffb7b347ee4dc500;p=xonotic%2Fxonotic-data.pk3dir.git Include player entity id into :recordset: log message --- diff --git a/qcsrc/server/race.qc b/qcsrc/server/race.qc index 3545d4d25b..139db8d3dc 100644 --- a/qcsrc/server/race.qc +++ b/qcsrc/server/race.qc @@ -53,7 +53,7 @@ string uid2name(string myuid) void write_recordmarker(entity pl, float newpos, float tstart, float dt) { - GameLogEcho(strcat(":recordset:", ftos(newpos), ":", ftos(pl.playerid), ":", ftos(dt))); + GameLogEcho(strcat(":recordset:", ftos(newpos), ":", ftos(pl.playerid), ":", ftos(etof(pl)), ":", ftos(dt))); // also write a marker into demo files for demotc-race-record-extractor to find if (pl.crypto_idfp != "") {