Add Left 4 Dead 2 support
This commit is contained in:
@@ -254,7 +254,7 @@ void HLTVServerWrapper::OnCGameClient_ClientPrintf_Post(const char* buf)
|
||||
IClient *pClient = (IClient *)((intptr_t)pGameClient + 4);
|
||||
HandleClientPrintf(pClient, buf);
|
||||
|
||||
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
||||
#if SOURCE_ENGINE == SE_LEFT4DEAD || SOURCE_ENGINE == SE_LEFT4DEAD2
|
||||
// Left4Dead doesn't check the netchan before using it
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
#else
|
||||
@@ -267,7 +267,7 @@ void HLTVServerWrapper::OnIClient_ClientPrintf_Post(const char* buf)
|
||||
IClient *pClient = META_IFACEPTR(IClient);
|
||||
HandleClientPrintf(pClient, buf);
|
||||
|
||||
#if SOURCE_ENGINE == SE_LEFT4DEAD
|
||||
#if SOURCE_ENGINE == SE_LEFT4DEAD || SOURCE_ENGINE == SE_LEFT4DEAD2
|
||||
// Left4Dead doesn't check the netchan before using it
|
||||
RETURN_META(MRES_SUPERCEDE);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user