summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/target.cpp5
-rw-r--r--src/actions/target.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/target.cpp b/src/actions/target.cpp
index c4c314ddb..95cb6ebbb 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -66,4 +66,9 @@ impHandler0(targetNPC)
return setTarget(ActorType::Npc, true);
}
+impHandler0(targetMercenary)
+{
+ return setTarget(ActorType::Mercenary, true);
+}
+
} // namespace Actions
diff --git a/src/actions/target.h b/src/actions/target.h
index 529f339ce..0bb760835 100644
--- a/src/actions/target.h
+++ b/src/actions/target.h
@@ -31,6 +31,7 @@ namespace Actions
decHandler(targetMonster);
decHandler(targetClosestMonster);
decHandler(targetNPC);
+ decHandler(targetMercenary);
} // namespace Actions
#undef decHandler