summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 18:05:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 18:05:48 +0300
commit415d696feaa2981d555d1912f201b548c1f0ffad (patch)
tree7898a5db9f3872d9f8466df509cb6582dff621a5 /src/net/tmwa
parent7931a86899d1c4e93fcde4ed753f8a62f52575fe (diff)
downloadmanaverse-415d696feaa2981d555d1912f201b548c1f0ffad.tar.gz
manaverse-415d696feaa2981d555d1912f201b548c1f0ffad.tar.bz2
manaverse-415d696feaa2981d555d1912f201b548c1f0ffad.tar.xz
manaverse-415d696feaa2981d555d1912f201b548c1f0ffad.zip
Add server feature haveLookSelection.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
-rw-r--r--src/net/tmwa/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 330dff083..23330a02a 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -84,4 +84,9 @@ bool ServerFeatures::haveRaceSelection() const
return serverVersion >= 2;
}
+bool ServerFeatures::haveLookSelection() const
+{
+ return serverVersion >= 9;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 740d73e5b..01db18cc5 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -53,6 +53,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveIncompleteChatMessages() const override final;
bool haveRaceSelection() const override final;
+
+ bool haveLookSelection() const override final;
};
} // namespace TmwAthena