From ccf221fd6e2d0119a54e5ea33c8efe93a07852a2 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Wed, 15 Feb 2023 17:35:47 +0100 Subject: [PATCH] CNetChan fixup * Renamed member variable; m_bUnkTickBool is m_nServerCPU. * Removed member variable 'm_bRetrySendLong'; does not exist in s3. --- r5dev/engine/framesnapshot.h | 2 +- r5dev/engine/net_chan.h | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/r5dev/engine/framesnapshot.h b/r5dev/engine/framesnapshot.h index c5c5d8f4..82e21409 100644 --- a/r5dev/engine/framesnapshot.h +++ b/r5dev/engine/framesnapshot.h @@ -8,7 +8,7 @@ struct TickUpdate float m_flHostFrameTime; float m_flHostFrameTimeStdDeviation; bool m_bStruggling; - char m_nUnkStat_maybe_load; + char m_nServerCPU; int command_number; }; diff --git a/r5dev/engine/net_chan.h b/r5dev/engine/net_chan.h index 5c3154fc..e4ea5a4f 100644 --- a/r5dev/engine/net_chan.h +++ b/r5dev/engine/net_chan.h @@ -153,7 +153,7 @@ private: int m_nQueuedPackets; float m_flRemoteFrameTime; float m_flRemoteFrameTimeStdDeviation; - uint8_t m_bUnkTickBool; + uint8_t m_nServerCPU; int m_nMaxRoutablePayloadSize; int m_nSplitPacketSequence; int64_t m_StreamSendBuffer; @@ -167,7 +167,6 @@ private: uint32_t m_nLiftimeRecvs; bool m_bPad; char m_Name[NET_CHANNELNAME_MAXLEN]; - uint8_t m_bRetrySendLong; netadr_t remote_address; }; #if defined (GAMEDLL_S0) || defined (GAMEDLL_S1) || defined (GAMEDLL_S2)