Fixed demowriter not writing packet type before the packet
This commit is contained in:
parent
b06015835c
commit
cc7066ac86
|
@ -69,5 +69,6 @@ void DemoWriter::EndCommandPacket()
|
|||
|
||||
void DemoWriter::WriteNetPacket(NetPacket& packet, SourceGameContext& context)
|
||||
{
|
||||
m_cmdPacketBuf.WriteUBitLong(packet.type, NETMSG_TYPE_BITS);
|
||||
NetHandlers::NetMsg_BitWrite(packet.type, m_cmdPacketBuf, context, packet.data);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user