summaryrefslogtreecommitdiff
path: root/src/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.h')
-rw-r--r--src/client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h
index fb1e70722..d6496d9df 100644
--- a/src/client.h
+++ b/src/client.h
@@ -252,6 +252,8 @@ public:
(std::wstring)L"<"+name+L"> "+message);
}
+ u64 getMapSeed(){ return m_map_seed; }
+
private:
// Virtual methods from con::PeerHandler
@@ -311,6 +313,9 @@ private:
//u32 m_daynight_ratio;
Queue<std::wstring> m_chat_queue;
+
+ // The seed returned by the server in TOCLIENT_INIT is stored here
+ u64 m_map_seed;
};
#endif // !SERVER