diff --git a/core/PlayerManager.cpp b/core/PlayerManager.cpp index 5bae1665..1386e809 100644 --- a/core/PlayerManager.cpp +++ b/core/PlayerManager.cpp @@ -874,9 +874,6 @@ void PlayerManager::OnClientPrintf(edict_t *pEdict, const char *szMsg) int nNumBitsWritten = pNetChan->GetNumBitsWritten(false); // SVC_Print uses unreliable netchan #endif - const int NETMSG_TYPE_BITS = 5; // SVC_Print overhead for netmsg type - const int SVC_Print_BufferSize = 2048 - 1; // -1 for terminating \0 - // if the msg is bigger than allowed then just let it fail if (nMsgLen + 1 >= SVC_Print_BufferSize) // +1 for NETMSG_TYPE_BITS RETURN_META(MRES_IGNORED); @@ -922,9 +919,6 @@ void PlayerManager::OnPrintfFrameAction(unsigned int serial) int nNumBitsWritten = pNetChan->GetNumBitsWritten(false); // SVC_Print uses unreliable netchan #endif - const int NETMSG_TYPE_BITS = 5; // SVC_Print overhead for netmsg type - const int SVC_Print_BufferSize = 2048 - 1; // -1 for terminating \0 - ke::LinkedList::iterator iter = player.m_PrintfBuffer.begin(); ke::AString &string = (*iter);