summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-07 02:45:56 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-07 02:45:56 +0300
commitd9732855666b402c0a492d6618ce9ab930089219 (patch)
tree6f1308b9958e605a9508d174907fa6d5b21654d7 /src/net/eathena
parenta66df732580a488c92dd680e8b9e7fc965ea1318 (diff)
downloadmanaplus-d9732855666b402c0a492d6618ce9ab930089219.tar.gz
manaplus-d9732855666b402c0a492d6618ce9ab930089219.tar.bz2
manaplus-d9732855666b402c0a492d6618ce9ab930089219.tar.xz
manaplus-d9732855666b402c0a492d6618ce9ab930089219.zip
Add server feature haveServerPets.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/serverfeatures.cpp5
-rw-r--r--src/net/eathena/serverfeatures.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp
index 4c87536b0..6f031681e 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -280,4 +280,9 @@ bool ServerFeatures::haveMail() const
return true;
}
+bool ServerFeatures::haveServerPets() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index 86e14ffc3..fee5aaea5 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -131,6 +131,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveMultyStatusUp() const override final;
bool haveMail() const override final;
+
+ bool haveServerPets() const override final;
};
} // namespace EAthena