From d26b49843ee33ca927cc46edc8cc0bdfe97a903a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Sep 2014 17:22:29 +0300 Subject: Add chat command and action for fire mercenary. New chat command: /firemercenary. --- src/actions/actions.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/actions.cpp') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 1c6fc3194..f1c62441d 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -66,6 +66,7 @@ #include "net/download.h" #include "net/gamehandler.h" #include "net/ipc.h" +#include "net/mercenaryhandler.h" #include "net/net.h" #include "net/pethandler.h" #include "net/playerhandler.h" @@ -1174,4 +1175,10 @@ impHandler(catchPet) return true; } +impHandler0(mercenaryFire) +{ + mercenaryHandler->fire(); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2