diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-02 03:11:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-02 03:11:08 +0300 |
commit | 205b331825d2d100a442d2d0399d477850d395d3 (patch) | |
tree | 1fd773e2af0234b78945364d9e7cfe21d4f2a9da /src/gui/popupmenu.cpp | |
parent | 2f2ec6025c0eb43c475964187d815d6598b00f01 (diff) | |
download | ManaVerse-205b331825d2d100a442d2d0399d477850d395d3.tar.gz ManaVerse-205b331825d2d100a442d2d0399d477850d395d3.tar.bz2 ManaVerse-205b331825d2d100a442d2d0399d477850d395d3.tar.xz ManaVerse-205b331825d2d100a442d2d0399d477850d395d3.zip |
Add players gender sugn in popup menus and being popups.
Diffstat (limited to 'src/gui/popupmenu.cpp')
-rw-r--r-- | src/gui/popupmenu.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index f84088cc1..66a8ce3ab 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -117,7 +117,7 @@ void PopupMenu::showPopup(int x, int y, Being *being) const std::string &name = mNick; - mBrowserBox->addRow(name); + mBrowserBox->addRow(name + being->getGenderSign()); switch (being->getType()) { @@ -323,7 +323,8 @@ void PopupMenu::showPopup(int x, int y, std::list<Being*> &beings) if (!being->getName().empty()) { mBrowserBox->addRow(strprintf("@@player_%u|%s >@@", - being->getId(), being->getName().c_str())); + being->getId(), (being->getName() + + being->getGenderSign()).c_str())); } } mBrowserBox->addRow("##3---"); |