summaryrefslogtreecommitdiff
path: root/src/actions/target.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-23 15:02:35 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-23 15:02:35 +0300
commite07a6a1cb8cd414f0b0a8de21903cd621582a906 (patch)
tree5058fbac6ee8d57a794cd32b5e93798d8818b406 /src/actions/target.cpp
parentab5e3e053a31efdc5799c1239e2bceaacf7cff61 (diff)
downloadmanaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.gz
manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.bz2
manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.tar.xz
manaplus-e07a6a1cb8cd414f0b0a8de21903cd621582a906.zip
Add action for targetting pets.
New chat command: targetpet
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 95cb6ebbb..8212a3a97 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -71,4 +71,9 @@ impHandler0(targetMercenary)
return setTarget(ActorType::Mercenary, true);
}
+impHandler0(targetPet)
+{
+ return setTarget(ActorType::Pet, true);
+}
+
} // namespace Actions