summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.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/gui/widgets/avatarlistbox.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/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index e0fbc4d4b..a351c7199 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -373,7 +373,7 @@ void AvatarListBox::mousePressed(MouseEvent &event)
if (type == MapItemType::EMPTY)
{
const Being *const being = actorManager->findBeingByName(
- ava->getName(), ActorType::PLAYER);
+ ava->getName(), ActorType::Player);
if (being)
actorManager->heal(being);
}
@@ -392,7 +392,7 @@ void AvatarListBox::mousePressed(MouseEvent &event)
if (avatar)
{
const Being *const being = actorManager->findBeingByName(
- avatar->getName(), ActorType::PLAYER);
+ avatar->getName(), ActorType::Player);
if (being)
{
popupMenu->showPopup(viewport->mMouseX,