From 81c7f0ae044b1131ad082e5e705c5276f82ac6ce Mon Sep 17 00:00:00 2001 From: ANAND Date: Sun, 25 Aug 2019 06:24:21 +0530 Subject: Send ActiveObjects once right after Init2 --- src/client/client.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/client/client.h') diff --git a/src/client/client.h b/src/client/client.h index 6dad48c3d..934175ff2 100644 --- a/src/client/client.h +++ b/src/client/client.h @@ -339,6 +339,8 @@ public: { return m_nodedef_received; } bool mediaReceived() { return !m_media_downloader; } + const bool activeObjectsReceived() const + { return m_activeobjects_received; } u16 getProtoVersion() { return m_proto_ver; } @@ -539,6 +541,7 @@ private: std::queue m_client_event_queue; bool m_itemdef_received = false; bool m_nodedef_received = false; + bool m_activeobjects_received = false; bool m_mods_loaded = false; ClientMediaDownloader *m_media_downloader; -- cgit v1.2.3