summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-01-12 12:37:22 +0300
committerAndrei Karas <akaras@inbox.ru>2014-01-12 12:37:22 +0300
commit18ba68228c2a8bce02a7bce1569be9998570d5f2 (patch)
tree2915116aec46deac74c8d72a26bfc48a8a50e5d2
parent0fa192854595ebe03cce54ad2b251abc4c8e8827 (diff)
downloadmanaplus-18ba68228c2a8bce02a7bce1569be9998570d5f2.tar.gz
manaplus-18ba68228c2a8bce02a7bce1569be9998570d5f2.tar.bz2
manaplus-18ba68228c2a8bce02a7bce1569be9998570d5f2.tar.xz
manaplus-18ba68228c2a8bce02a7bce1569be9998570d5f2.zip
fix context menu for pets.
-rw-r--r--src/gui/popups/popupmenu.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index b1f7b8c8a..52cf1d5d6 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -294,8 +294,7 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being)
case ActorSprite::PORTAL:
case ActorSprite::PET:
default:
- /* Other beings aren't interesting... */
- return;
+ break;
}
// TRANSLATORS: popup menu item
// TRANSLATORS: add being name to chat