summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/adminhandler.cpp')
-rw-r--r--src/net/ea/adminhandler.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index d02d0ceda..a5bfeea27 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -22,8 +22,6 @@
#include "net/ea/adminhandler.h"
-#include "game.h"
-
#include "net/serverfeatures.h"
#include "utils/gmfunctions.h"
@@ -72,19 +70,6 @@ void AdminHandler::createItems(const int id,
strprintf("%d %d", id, amount));
}
-void AdminHandler::slide(const int x, const int y) const
-{
- if (serverFeatures->haveSlide())
- {
- Gm::runCommand("slide",
- strprintf("%d %d", x, y));
- }
- else
- {
- warp(Game::instance()->getCurrentMapName(), x, y);
- }
-}
-
void AdminHandler::spawn(const std::string &name) const
{
Gm::runCommand("spawn", name);