summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-01 22:08:28 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-01 22:08:28 +0300
commit3f9b89422c25cce1c2177bb027fe4d96d3d9294f (patch)
treeb4ebc0ae3bc1d31539cac88b919486c5cf2e57f1 /src/net/tmwa/adminhandler.cpp
parent8a1eb6607cdd4fbdc56b8217f7b9ec3987c1ec2d (diff)
downloadmv-3f9b89422c25cce1c2177bb027fe4d96d3d9294f.tar.gz
mv-3f9b89422c25cce1c2177bb027fe4d96d3d9294f.tar.bz2
mv-3f9b89422c25cce1c2177bb027fe4d96d3d9294f.tar.xz
mv-3f9b89422c25cce1c2177bb027fe4d96d3d9294f.zip
Remove ServerFeatures haveSlide because it depend only on server type.
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r--src/net/tmwa/adminhandler.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 9323f7b04..514c53090 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -22,6 +22,8 @@
#include "net/tmwa/adminhandler.h"
+#include "game.h"
+
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocolout.h"
@@ -287,4 +289,9 @@ void AdminHandler::guildRecall(const std::string &name A_UNUSED) const
{
}
+void AdminHandler::slide(const int x, const int y) const
+{
+ warp(Game::instance()->getCurrentMapName(), x, y);
+}
+
} // namespace TmwAthena