summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
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 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
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 916fbf3db..740d73e5b 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -51,6 +51,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveNativeGuilds() const override final;
bool haveIncompleteChatMessages() const override final;
+
+ bool haveRaceSelection() const override final;
};
} // namespace TmwAthena