Removed accidental resetting of pb msg and memory leak in hooked pb messages (bug 5579, bug 5588).
This commit is contained in:
parent
7c03276b50
commit
d071ecc17c
@ -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 *);
|
||||
|
Loading…
Reference in New Issue
Block a user