From fe91831f0efc58fe7710ab85224169b4c76ecfc4 Mon Sep 17 00:00:00 2001 From: ShadowsAdi <54354938+ShadowsAdi@users.noreply.github.com> Date: Mon, 4 Apr 2022 21:16:42 +0300 Subject: [PATCH] Update sv_main.cpp --- rehlds/engine/sv_main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 9c9ce2966..264c55339 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -1185,6 +1185,8 @@ void SV_SendResources(sizebuf_t *msg) unsigned char nullbuffer[32]; Q_memset(nullbuffer, 0, sizeof(nullbuffer)); + Con_Printf("Spawn: %d\n", g_psvs.spawncount); + MSG_WriteByte(msg, svc_resourcerequest); MSG_WriteLong(msg, g_psvs.spawncount); MSG_WriteLong(msg, 0); @@ -6003,6 +6005,7 @@ int SV_SpawnServer(qboolean bIsDemo, char *server, char *startspot) g_LastScreenUpdateTime = 0.0f; g_psvs.spawncount = ++gHostSpawnCount; + Con_Printf("Spawn: %d\n", g_psvs.spawncount); if (coop.value != 0.0f) Cvar_SetValue("deathmatch", 0.0f);