From 2018073c8ec531d936321f2e6561b68d386f36a5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 02:28:51 +0300 Subject: Move chat command /heal into actions. --- src/commands.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'src/commands.cpp') 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); -- cgit v1.2.3-70-g09d2