diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 3 |
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) |