summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-22 22:09:02 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-22 22:09:02 +0300
commit51c9a63a660fe88cfa44d93028e6ae2448fb889d (patch)
tree8c4b1db548208737a43d52fbe28b99cb5060f017 /src/net/tmwa
parentbce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca (diff)
downloadmv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.gz
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.bz2
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.xz
mv-51c9a63a660fe88cfa44d93028e6ae2448fb889d.zip
Not allow moving from sit state if server not support it.
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 d6f785915..b533301a7 100644
--- a/src/net/tmwa/serverfeatures.cpp
+++ b/src/net/tmwa/serverfeatures.cpp
@@ -288,4 +288,9 @@ bool ServerFeatures::haveFamily() const
return false;
}
+bool ServerFeatures::haveMoveWhileSit() const
+{
+ return true;
+}
+
} // namespace TmwAthena
diff --git a/src/net/tmwa/serverfeatures.h b/src/net/tmwa/serverfeatures.h
index 9ce160ac1..747b1ab93 100644
--- a/src/net/tmwa/serverfeatures.h
+++ b/src/net/tmwa/serverfeatures.h
@@ -135,6 +135,8 @@ class ServerFeatures final : public Net::ServerFeatures
bool haveServerPets() const override final A_CONST;
bool haveFamily() const override final A_CONST;
+
+ bool haveMoveWhileSit() const override final A_CONST;
};
} // namespace TmwAthena