Skip to content
Permalink
Browse files

client.h: Add missing const's

  • Loading branch information
ClobberXD authored and sfan5 committed Sep 13, 2019
1 parent 16d6ca3 commit 8e42a25e570565b2ad30717b914ace84b08c87ec
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/client/client.h
@@ -333,11 +333,11 @@ class Client : public con::PeerHandler, public InventoryManager, public IGameDef
// 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; }

0 comments on commit 8e42a25

Please sign in to comment.
You can’t perform that action at this time.