Skip to content

Commit

Permalink
client.h: Add missing const's
Browse files Browse the repository at this point in the history
  • Loading branch information
ClobberXD authored and sfan5 committed Sep 14, 2019
1 parent 16d6ca3 commit 8e42a25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/client/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -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; }
Expand Down

0 comments on commit 8e42a25

Please sign in to comment.