Removed accidental resetting of pb msg and memory leak in hooked pb messages (bug 5579, bug 5588).

This commit is contained in:
Nicholas Hastings 2013-01-26 21:10:25 -05:00
parent 7c03276b50
commit d071ecc17c

View File

@ -692,7 +692,6 @@ bf_write *UserMessages::OnStartMessage_Post(IRecipientFilter *filter, int msg_ty
}
#ifdef USE_PROTOBUF_USERMESSAGES
m_FakeEngineBuffer = g_Cstrike15UsermessageHelpers.GetPrototype(msg_type)->New();
m_OrigBuffer = m_FakeEngineBuffer;
#else
m_OrigBuffer = META_RESULT_ORIG_RET(bf_write *);