Fixed demowriter not writing packet type before the packet

This commit is contained in:
Jordan Cristiano 2015-06-14 17:21:56 -04:00
parent b06015835c
commit cc7066ac86

View File

@ -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);
}