summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-17 12:18:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-17 12:18:10 +0300
commitfa1edb2eff191d3c1ab7366d3918a57769379c57 (patch)
tree94a2d744cc07295a943bb488a4e7f2c26620e79c /src/net/tmwa
parent2cdd26078b672c19ba4f440df20a59082b00a1f6 (diff)
downloadmanaplus-fa1edb2eff191d3c1ab7366d3918a57769379c57.tar.gz
manaplus-fa1edb2eff191d3c1ab7366d3918a57769379c57.tar.bz2
manaplus-fa1edb2eff191d3c1ab7366d3918a57769379c57.tar.xz
manaplus-fa1edb2eff191d3c1ab7366d3918a57769379c57.zip
Add server feature haveTalkPet.
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 5ba2b1dac..58a62f1f6 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -204,4 +204,9 @@ bool ServerFeatures::haveCart() const
return false;
}
+bool ServerFeatures::haveTalkPet() const
+{
+ return true;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index d29c4287b..e3dba132e 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -101,6 +101,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveVending() const override final;
bool haveCart() const override final;
+
+ bool haveTalkPet() const override final;
};
} // namespace TmwAthena