summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 02:28:51 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 02:28:51 +0300
commit2018073c8ec531d936321f2e6561b68d386f36a5 (patch)
tree0e0c2522b1b2485da298046011f287a7c18a418d /src/commands.cpp
parente2dddbdd9599b9b1f6a9825ee06d4d3616d9d1dd (diff)
downloadmv-2018073c8ec531d936321f2e6561b68d386f36a5.tar.gz
mv-2018073c8ec531d936321f2e6561b68d386f36a5.tar.bz2
mv-2018073c8ec531d936321f2e6561b68d386f36a5.tar.xz
mv-2018073c8ec531d936321f2e6561b68d386f36a5.zip
Move chat command /heal into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 7494c45d2..38683ea2a 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -180,25 +180,6 @@ impHandler(imitation)
return true;
}
-impHandler(heal)
-{
- if (!actorManager)
- return false;
-
- if (!event.args.empty())
- {
- const Being *const being = actorManager->findBeingByName(
- event.args, ActorType::PLAYER);
- if (being)
- actorManager->heal(being);
- }
- else
- {
- actorManager->heal(localPlayer);
- }
- return true;
-}
-
impHandler(hack)
{
Net::getChatHandler()->sendRaw(event.args);