mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Fix compiler error
Define this out for client dll.
This commit is contained in:
parent
57feab706c
commit
228b9222b3
@ -260,6 +260,7 @@ bool CClient::VProcessStringCmd(CClient* pClient, NET_StringCmd* pMsg)
|
||||
//---------------------------------------------------------------------------------
|
||||
bool CClient::VProcessSetConVar(CClient* pClient, NET_SetConVar* pMsg)
|
||||
{
|
||||
#ifndef CLIENT_DLL
|
||||
CClient* pAdj = AdjustShiftedThisPointer(pClient);
|
||||
ServerPlayer_t* pSlot = &g_ServerPlayer[pAdj->GetUserID()];
|
||||
|
||||
@ -305,6 +306,7 @@ bool CClient::VProcessSetConVar(CClient* pClient, NET_SetConVar* pMsg)
|
||||
|
||||
pSlot->m_bInitialConVarsSet = true;
|
||||
pAdj->m_bConVarsChanged = true;
|
||||
#endif // !CLIENT_DLL
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user