summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-13 21:36:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-13 21:36:27 +0300
commit1289a09b48736324e97f5ce82d9cfee656e6cbe7 (patch)
tree1be23646ed8e066324266fc36539e5df08b86817 /src/net/tmwa
parent4c16730ba93b42f643ef075f7494eaed6d5acdf4 (diff)
downloadmanaverse-1289a09b48736324e97f5ce82d9cfee656e6cbe7.tar.gz
manaverse-1289a09b48736324e97f5ce82d9cfee656e6cbe7.tar.bz2
manaverse-1289a09b48736324e97f5ce82d9cfee656e6cbe7.tar.xz
manaverse-1289a09b48736324e97f5ce82d9cfee656e6cbe7.zip
Add server feature haveAdvancedSprites. Enable it for evol servers >= 7.
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 a277a15f1..17418268b 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -234,4 +234,9 @@ bool ServerFeatures::haveNewGuild() const
return tmwServerVersion > 0;
}
+bool ServerFeatures::haveAdvancedSprites() const
+{
+ return false;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index e13d67250..24dd88a99 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -113,6 +113,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveTeamId() const override final;
bool haveNewGuild() const override final;
+
+ bool haveAdvancedSprites() const override final;
};
} // namespace TmwAthena