summaryrefslogtreecommitdiff
path: root/src/actions/target.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 23:58:39 +0300
commit0a39e956218ca15bf78803f89141c7c9dfcec0d9 (patch)
treeadfc0fcd42792ddad6b3cb8843d6fe0c22170580 /src/actions/target.cpp
parent69022cd939e572feadaadf1041ae7dadad782ed6 (diff)
downloadManaVerse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.gz
ManaVerse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.bz2
ManaVerse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.tar.xz
ManaVerse-0a39e956218ca15bf78803f89141c7c9dfcec0d9.zip
Change format in ActorType enum.
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