mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
client.h: Add missing const's
This commit is contained in:
@@ -333,11 +333,11 @@ public:
|
|||||||
// disconnect client when CSM failed.
|
// disconnect client when CSM failed.
|
||||||
const std::string &accessDeniedReason() const { return m_access_denied_reason; }
|
const std::string &accessDeniedReason() const { return m_access_denied_reason; }
|
||||||
|
|
||||||
bool itemdefReceived()
|
const bool itemdefReceived() const
|
||||||
{ return m_itemdef_received; }
|
{ return m_itemdef_received; }
|
||||||
bool nodedefReceived()
|
const bool nodedefReceived() const
|
||||||
{ return m_nodedef_received; }
|
{ return m_nodedef_received; }
|
||||||
bool mediaReceived()
|
const bool mediaReceived() const
|
||||||
{ return !m_media_downloader; }
|
{ return !m_media_downloader; }
|
||||||
const bool activeObjectsReceived() const
|
const bool activeObjectsReceived() const
|
||||||
{ return m_activeobjects_received; }
|
{ return m_activeobjects_received; }
|
||||||
|
Reference in New Issue
Block a user