mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Make const
Make const.
This commit is contained in:
parent
a061f7dd00
commit
b65e06a390
@ -90,7 +90,7 @@ bool Base_CmdKeyValues::WriteToBufferImpl(Base_CmdKeyValues* thisptr, bf_write*
|
||||
// determine whether or not the message should be copied into the replay buffer,
|
||||
// regardless of the 'CNetMessage::m_Group' type.
|
||||
///////////////////////////////////////////////////////////////////////////////////
|
||||
bool ShouldReplayMessage(CNetMessage* msg)
|
||||
bool ShouldReplayMessage(const CNetMessage* msg)
|
||||
{
|
||||
switch (msg->GetType())
|
||||
{
|
||||
|
@ -378,7 +378,7 @@ public:
|
||||
bf_write m_DataOut;
|
||||
};
|
||||
|
||||
bool ShouldReplayMessage(CNetMessage* msg);
|
||||
bool ShouldReplayMessage(const CNetMessage* msg);
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
class V_NetMessages : public IDetour
|
||||
|
Loading…
x
Reference in New Issue
Block a user