diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 22:09:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 22:09:02 +0300 |
commit | 51c9a63a660fe88cfa44d93028e6ae2448fb889d (patch) | |
tree | 8c4b1db548208737a43d52fbe28b99cb5060f017 /src/net/eathena/serverfeatures.cpp | |
parent | bce511aaf8b9d2b5d447f67ba0c05e2f9a92b7ca (diff) | |
download | plus-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.gz plus-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.bz2 plus-51c9a63a660fe88cfa44d93028e6ae2448fb889d.tar.xz plus-51c9a63a660fe88cfa44d93028e6ae2448fb889d.zip |
Not allow moving from sit state if server not support it.
Diffstat (limited to 'src/net/eathena/serverfeatures.cpp')
-rw-r--r-- | src/net/eathena/serverfeatures.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/serverfeatures.cpp b/src/net/eathena/serverfeatures.cpp index a830acc5f..f995f55ad 100644 --- a/src/net/eathena/serverfeatures.cpp +++ b/src/net/eathena/serverfeatures.cpp @@ -290,4 +290,9 @@ bool ServerFeatures::haveFamily() const return true; } +bool ServerFeatures::haveMoveWhileSit() const +{ + return serverVersion > 0; +} + } // namespace EAthena |