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 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
diff --git a/src/actions/target.h b/src/actions/target.h
index 0bb760835..50ac1e63e 100644
--- a/src/actions/target.h
+++ b/src/actions/target.h
@@ -32,6 +32,7 @@ namespace Actions
decHandler(targetClosestMonster);
decHandler(targetNPC);
decHandler(targetMercenary);
+ decHandler(targetPet);
} // namespace Actions
#undef decHandler