summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 19:54:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-17 21:17:11 +0300
commit985afc6e3325926e487667d60ab16b7d74b8f11b (patch)
tree631ba106426c7f664cd91b70a3b29cb605868bb5 /src/gui
parent25b210d5c54383bd7575bf3601e242340182ee5f (diff)
downloadplus-985afc6e3325926e487667d60ab16b7d74b8f11b.tar.gz
plus-985afc6e3325926e487667d60ab16b7d74b8f11b.tar.bz2
plus-985afc6e3325926e487667d60ab16b7d74b8f11b.tar.xz
plus-985afc6e3325926e487667d60ab16b7d74b8f11b.zip
fix switch usage in avatarlistbox.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/widgets/avatarlistbox.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp
index eb1a00fe2..f39fbc02d 100644
--- a/src/gui/widgets/avatarlistbox.cpp
+++ b/src/gui/widgets/avatarlistbox.cpp
@@ -353,7 +353,8 @@ void AvatarListBox::mousePressed(gcn::MouseEvent &event)
{
switch (ava->getType())
{
- case AVATAR_PLAYER:
+ // AVATAR_PLAYER
+ case MapItem::EMPTY:
{
const Avatar *const avatar = model->getAvatarAt(selected);
if (avatar)