aboutsummaryrefslogtreecommitdiff
path: root/src/remoteplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteplayer.h')
-rw-r--r--src/remoteplayer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/remoteplayer.h b/src/remoteplayer.h
index 260504fb4..831bfe956 100644
--- a/src/remoteplayer.h
+++ b/src/remoteplayer.h
@@ -130,6 +130,9 @@ public:
u16 protocol_version = 0;
+ // v1 for clients older than 5.1.0-dev
+ u16 formspec_version = 1;
+
session_t getPeerId() const { return m_peer_id; }
void setPeerId(session_t peer_id) { m_peer_id = peer_id; }