]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Patch by packer: Include the player name at the top of the per-client demo Mario/autodemo_netname
authorMario <mario@smbclan.net>
Sun, 21 Feb 2016 15:12:07 +0000 (01:12 +1000)
committerMario <mario@smbclan.net>
Sun, 21 Feb 2016 15:12:07 +0000 (01:12 +1000)
sv_main.c

index d0738905a997a1971385c3e20d818dd8302ef14b..c51346e6583d93b2dc67f49aa545ff248ac214c7 100644 (file)
--- a/sv_main.c
+++ b/sv_main.c
@@ -949,6 +949,7 @@ void SV_SendServerinfo (client_t *client)
                dpsnprintf (demofile, sizeof(demofile), "%s_%s_%d_%s.dem", Sys_TimeString (sv_autodemo_perclient_nameformat.string), sv.worldbasename, PRVM_NUM_FOR_EDICT(client->edict), ipaddress);
 
                SV_StartDemoRecording(client, demofile, -1);
+               SV_WriteNetnameIntoDemo(client);
        }
 
        //[515]: init csprogs according to version of svprogs, check the crc, etc.