summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-22 17:23:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-22 17:23:00 +0300
commitfc70de9b9d4ae04b1748a27474cc0e1c03e07f05 (patch)
tree3f412e7b996b93caf85bb9665f69b10b1267ba87 /src/net/eathena
parent4e50d7314f67f6e6fc307a6270d2b6dab598f5ea (diff)
downloadplus-fc70de9b9d4ae04b1748a27474cc0e1c03e07f05.tar.gz
plus-fc70de9b9d4ae04b1748a27474cc0e1c03e07f05.tar.bz2
plus-fc70de9b9d4ae04b1748a27474cc0e1c03e07f05.tar.xz
plus-fc70de9b9d4ae04b1748a27474cc0e1c03e07f05.zip
Add server feature vending.
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 4179adef3..2afce81c3 100644
--- a/src/net/eathena/serverfeatures.cpp
+++ b/src/net/eathena/serverfeatures.cpp
@@ -195,4 +195,9 @@ bool ServerFeatures::haveAttackDirections() const
return true;
}
+bool ServerFeatures::haveVending() const
+{
+ return true;
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/serverfeatures.h b/src/net/eathena/serverfeatures.h
index bf7fb422e..75fbf1b8e 100644
--- a/src/net/eathena/serverfeatures.h
+++ b/src/net/eathena/serverfeatures.h
@@ -97,6 +97,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveCreateCharGender() const override final;
bool haveAttackDirections() const override final;
+
+ bool haveVending() const override final;
};
} // namespace EAthena