diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-21 17:22:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-21 17:24:16 +0300 |
commit | d26b49843ee33ca927cc46edc8cc0bdfe97a903a (patch) | |
tree | 3edffa15445a159d0533fa86568adfb576bbb32d /src/actions/actions.cpp | |
parent | 5b907fc3c1c21f69f1b86d4e3c16990dd2bff757 (diff) | |
download | manaplus-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.gz manaplus-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.bz2 manaplus-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.tar.xz manaplus-d26b49843ee33ca927cc46edc8cc0bdfe97a903a.zip |
Add chat command and action for fire mercenary.
New chat command: /firemercenary.
Diffstat (limited to 'src/actions/actions.cpp')
-rw-r--r-- | src/actions/actions.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
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 |