From 35e4a2b31190c538a3d9368607b01c581ab4de08 Mon Sep 17 00:00:00 2001 From: Dennis Felsing Date: Wed, 14 Jun 2023 11:25:26 +0200 Subject: [PATCH] Actually use AntibotFlags --- src/engine/server/antibot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/server/antibot.cpp b/src/engine/server/antibot.cpp index 10217f6b2..b6a1c48b9 100644 --- a/src/engine/server/antibot.cpp +++ b/src/engine/server/antibot.cpp @@ -169,7 +169,7 @@ bool CAntibot::OnEngineClientMessage(int ClientID, const void *pData, int Size, { AntibotFlags |= ANTIBOT_MSGFLAG_NONVITAL; } - return AntibotOnEngineClientMessage(ClientID, pData, Size, Flags); + return AntibotOnEngineClientMessage(ClientID, pData, Size, AntibotFlags); } bool CAntibot::OnEngineServerMessage(int ClientID, const void *pData, int Size, int Flags) { @@ -179,7 +179,7 @@ bool CAntibot::OnEngineServerMessage(int ClientID, const void *pData, int Size, { AntibotFlags |= ANTIBOT_MSGFLAG_NONVITAL; } - return AntibotOnEngineServerMessage(ClientID, pData, Size, Flags); + return AntibotOnEngineServerMessage(ClientID, pData, Size, AntibotFlags); } bool CAntibot::OnEngineSimulateClientMessage(int *pClientID, void *pBuffer, int BufferSize, int *pOutSize, int *pFlags) {