summaryrefslogtreecommitdiff
path: root/src/actions/target.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-21 17:52:18 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-21 18:03:13 +0300
commit94e909f4ae557eea6f2cc7737d14c46968920b18 (patch)
tree76639ed4f19a3c42cdd593f33532b1f7e9ac61fd /src/actions/target.cpp
parentd26b49843ee33ca927cc46edc8cc0bdfe97a903a (diff)
downloadmv-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.gz
mv-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.bz2
mv-94e909f4ae557eea6f2cc7737d14c46968920b18.tar.xz
mv-94e909f4ae557eea6f2cc7737d14c46968920b18.zip
Add action for targetting mercenaries.
New chat command: targetmercenary
Diffstat (limited to 'src/actions/target.cpp')
-rw-r--r--src/actions/target.cpp5
1 files changed, 5 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