mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Make const
No modification is performed.
This commit is contained in:
parent
9c440e1e68
commit
3eadb1ed93
@ -17,7 +17,7 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// Purpose: returns true if client simulation is paused
|
||||
//------------------------------------------------------------------------------
|
||||
bool CClientState::IsPaused()
|
||||
bool CClientState::IsPaused() const
|
||||
{
|
||||
return m_bPaused;
|
||||
}
|
||||
@ -26,7 +26,7 @@ bool CClientState::IsPaused()
|
||||
// Purpose: gets the client time
|
||||
// Technically doesn't belong here
|
||||
//------------------------------------------------------------------------------
|
||||
float CClientState::GetClientTime()
|
||||
float CClientState::GetClientTime() const
|
||||
{
|
||||
if (m_bClockCorrectionEnabled)
|
||||
{
|
||||
|
@ -24,8 +24,8 @@ public:
|
||||
class CClientState : CS_INetChannelHandler, IConnectionlessPacketHandler, IServerMessageHandler, CClientSnapshotManager
|
||||
{
|
||||
public:
|
||||
bool IsPaused();
|
||||
float GetClientTime();
|
||||
bool IsPaused() const;
|
||||
float GetClientTime() const;
|
||||
|
||||
int GetTick() const;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user