summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp7
-rw-r--r--src/actions/actions.h1
2 files changed, 8 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
diff --git a/src/actions/actions.h b/src/actions/actions.h
index d03c8b8ac..ed8cf980c 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -89,6 +89,7 @@ namespace Actions
decHandler(uploadServerConfig);
decHandler(uploadLog);
decHandler(catchPet);
+ decHandler(mercenaryFire);
} // namespace Actions
#undef decHandler