From 2dafec635bf6df247486b7eae608ec541da28914 Mon Sep 17 00:00:00 2001 From: WPMGPRoSToTeMa Date: Fri, 30 Sep 2016 12:46:23 +0300 Subject: [PATCH] Fixed A2A_ACK console/log flood --- rehlds/engine/sv_main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rehlds/engine/sv_main.cpp b/rehlds/engine/sv_main.cpp index 6806f6a..1208ddd 100644 --- a/rehlds/engine/sv_main.cpp +++ b/rehlds/engine/sv_main.cpp @@ -3492,7 +3492,11 @@ void SV_ConnectionlessPacket(void) } else if (c[0] == A2A_ACK && (c[1] == 0 || c[1] == '\n')) { +#ifdef REHLDS_FIXES + Con_DPrintf("A2A_ACK from %s\n", NET_AdrToString(net_from)); +#else // REHLDS_FIXES Con_Printf("A2A_ACK from %s\n", NET_AdrToString(net_from)); +#endif // REHLDS_FIXES } else if (c[0] == A2A_GETCHALLENGE || c[0] == A2S_INFO || c[0] == A2S_PLAYER || c[0] == A2S_RULES || c[0] == S2A_LOGSTRING || c[0] == M2S_REQUESTRESTART || c[0] == M2A_CHALLENGE)