mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Actually use AntibotFlags
This commit is contained in:
parent
6cfac056ec
commit
35e4a2b311
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue