diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-10 18:03:50 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-10 18:04:43 -0600 |
commit | 78cab005ab427e64ccdf8ba8f6ca7d4c6f6bd4b4 (patch) | |
tree | ebae0e6ceb8ec5efe9e894454e9988f5a40c83e9 | |
parent | e48060430f9fae5c52fb32009a3e10e35e1817a2 (diff) | |
download | mana-client-78cab005ab427e64ccdf8ba8f6ca7d4c6f6bd4b4.tar.gz mana-client-78cab005ab427e64ccdf8ba8f6ca7d4c6f6bd4b4.tar.bz2 mana-client-78cab005ab427e64ccdf8ba8f6ca7d4c6f6bd4b4.tar.xz mana-client-78cab005ab427e64ccdf8ba8f6ca7d4c6f6bd4b4.zip |
Fix popup to prevent an item from showing on warps
-rw-r--r-- | src/gui/popupmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index 12531d89..e8af3122 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -75,7 +75,8 @@ void PopupMenu::showPopup(int x, int y, Being *being) mBrowserBox->clearRows(); // Any being's name can be added to chat - mBrowserBox->addRow(_("@@name|Add name to chat@@")); + if (being->getType() != Being::UNKNOWN) + mBrowserBox->addRow(_("@@name|Add name to chat@@")); switch (being->getType()) { |