diff options
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 2e8e27960..130245801 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -347,7 +347,7 @@ void AvatarListBox::mousePressed(MouseEvent &event) if (ava->getType() == AVATAR_PLAYER) { const Being *const being = actorManager->findBeingByName( - ava->getName(), Being::PLAYER); + ava->getName(), ActorType::PLAYER); if (being) actorManager->heal(being); } @@ -366,8 +366,8 @@ void AvatarListBox::mousePressed(MouseEvent &event) const Avatar *const avatar = model->getAvatarAt(selected); if (avatar) { - const Being *const being = actorManager - ->findBeingByName(avatar->getName(), Being::PLAYER); + const Being *const being = actorManager->findBeingByName( + avatar->getName(), ActorType::PLAYER); if (being) viewport->showPopup(being); else |