diff options
author | ANAND <ClobberXD@gmail.com> | 2019-09-13 11:34:06 +0530 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-09-14 20:16:55 +0200 |
commit | 8e42a25e570565b2ad30717b914ace84b08c87ec (patch) | |
tree | 0b1b9ab186a8afae1131bc90e0cfb4d3c2844e06 /src/client | |
parent | 16d6ca3937ac862cccb1f9fd3a7158f96690035a (diff) | |
download | minetest-8e42a25e570565b2ad30717b914ace84b08c87ec.tar.gz minetest-8e42a25e570565b2ad30717b914ace84b08c87ec.tar.bz2 minetest-8e42a25e570565b2ad30717b914ace84b08c87ec.zip |
client.h: Add missing const's
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/client.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/client.h b/src/client/client.h index 934175ff2..dee60b6d5 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -333,11 +333,11 @@ public: // disconnect client when CSM failed. const std::string &accessDeniedReason() const { return m_access_denied_reason; } - bool itemdefReceived() + const bool itemdefReceived() const { return m_itemdef_received; } - bool nodedefReceived() + const bool nodedefReceived() const { return m_nodedef_received; } - bool mediaReceived() + const bool mediaReceived() const { return !m_media_downloader; } const bool activeObjectsReceived() const { return m_activeobjects_received; } |