From 9f1994182d4225f630a93ae06b01927c4f7a9a37 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 20:33:10 +0300 Subject: Convert ActorType enum into strong typed enum. --- src/gui/widgets/avatarlistbox.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/gui/widgets/avatarlistbox.cpp') 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(model->getAvatarAt( - selected)->getType())); + model->getAvatarAt(selected)->getType()); break; } case MapItemType::PICKUP: -- cgit v1.2.3-70-g09d2