summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 11:58:28 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 11:58:28 +0300
commitae4062ed3c48706127c32efbc70cca0cc5ce19f8 (patch)
treeba2576179837ca60fe4340e55aef627b9df84405 /src/commands.cpp
parent2018073c8ec531d936321f2e6561b68d386f36a5 (diff)
downloadmanaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.gz
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.bz2
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.tar.xz
manaverse-ae4062ed3c48706127c32efbc70cca0cc5ce19f8.zip
Move chat command /navigate into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 38683ea2a..0929d525d 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -151,21 +151,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(navigate)
-{
- if (!localPlayer)
- return false;
-
- int x = 0;
- int y = 0;
-
- if (parse2Int(event.args, x, y))
- localPlayer->navigateTo(x, y);
- else
- localPlayer->navigateClean();
- return true;
-}
-
impHandler(imitation)
{
if (!localPlayer)