diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-23 15:02:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-23 15:02:35 +0300 |
commit | e07a6a1cb8cd414f0b0a8de21903cd621582a906 (patch) | |
tree | 5058fbac6ee8d57a794cd32b5e93798d8818b406 /src/actions/target.cpp | |
parent | ab5e3e053a31efdc5799c1239e2bceaacf7cff61 (diff) | |
download | manaplus-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.cpp | 5 |
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 |