summaryrefslogtreecommitdiff
path: root/src/net/tmwa/serverfeatures.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 17:55:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 17:55:30 +0300
commit7931a86899d1c4e93fcde4ed753f8a62f52575fe (patch)
tree0a81126d55b792a2eab83fd8d15077f6882991cf /src/net/tmwa/serverfeatures.cpp
parentc79a9b4ffa2762be199b85a78cd798d4bccc9b1b (diff)
downloadmanaverse-7931a86899d1c4e93fcde4ed753f8a62f52575fe.tar.gz
manaverse-7931a86899d1c4e93fcde4ed753f8a62f52575fe.tar.bz2
manaverse-7931a86899d1c4e93fcde4ed753f8a62f52575fe.tar.xz
manaverse-7931a86899d1c4e93fcde4ed753f8a62f52575fe.zip
Add server feature haveRaceSelection.
Diffstat (limited to 'src/net/tmwa/serverfeatures.cpp')
-rw-r--r--src/net/tmwa/serverfeatures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/serverfeatures.cpp b/src/net/tmwa/serverfeatures.cpp
index 31b7a16ed..330dff083 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -79,4 +79,9 @@ bool ServerFeatures::haveIncompleteChatMessages() const
return tmwServerVersion > 0;
}
+bool ServerFeatures::haveRaceSelection() const
+{
+ return serverVersion >= 2;
+}
+
} // namespace TmwAthena