From 5d70bb0122feb83d8a1e80926cf21c3b7a01e825 Mon Sep 17 00:00:00 2001 From: Kyle Sanderson Date: Fri, 6 Sep 2019 09:02:40 -0700 Subject: [PATCH] remove local const references --- core/PlayerManager.cpp | 6 ------ 1 file changed, 6 deletions(-) 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);