summaryrefslogtreecommitdiff
path: root/src/gui/widgets/avatarlistbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-29 20:33:10 +0300
commit9f1994182d4225f630a93ae06b01927c4f7a9a37 (patch)
treeb3557f6c6e6a923170929fd6553b59f872634291 /src/gui/widgets/avatarlistbox.cpp
parentaef032f93b7bdc6e5908b2fa5f940a43bcfce50e (diff)
downloadmanaplus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.gz
manaplus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.bz2
manaplus-9f1994182d4225f630a93ae06b01927c4f7a9a37.tar.xz
manaplus-9f1994182d4225f630a93ae06b01927c4f7a9a37.zip
Convert ActorType enum into strong typed enum.
Diffstat (limited to 'src/gui/widgets/avatarlistbox.cpp')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index 7bbaf5196..a3c29a68a 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -660,8 +660,7 @@ void AvatarListBox::mousePressed(MouseEvent &event)
popupMenu->showAttackMonsterPopup(viewport->mMouseX,
viewport->mMouseY,
name,
- static_cast<ActorType::Type>(model->getAvatarAt(
- selected)->getType()));
+ model->getAvatarAt(selected)->getType());
break;
}
case MapItemType::PICKUP: