summaryrefslogtreecommitdiff
path: root/src/actions/target.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/target.cpp')
-rw-r--r--src/actions/target.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actions/target.cpp b/src/actions/target.cpp
index c5772c1b5..c4c314ddb 100644
--- a/src/actions/target.cpp
+++ b/src/actions/target.cpp
@@ -48,22 +48,22 @@ static bool setTarget(const ActorType::Type type, const bool allowSort)
impHandler0(targetPlayer)
{
- return setTarget(ActorType::PLAYER, true);
+ return setTarget(ActorType::Player, true);
}
impHandler0(targetMonster)
{
- return setTarget(ActorType::MONSTER, true);
+ return setTarget(ActorType::Monster, true);
}
impHandler0(targetClosestMonster)
{
- return setTarget(ActorType::MONSTER, false);
+ return setTarget(ActorType::Monster, false);
}
impHandler0(targetNPC)
{
- return setTarget(ActorType::NPC, true);
+ return setTarget(ActorType::Npc, true);
}
} // namespace Actions