diff options
-rw-r--r-- | src/gui/popups/beingpopup.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp index c1c61c8b2..5ba770f2e 100644 --- a/src/gui/popups/beingpopup.cpp +++ b/src/gui/popups/beingpopup.cpp @@ -205,6 +205,16 @@ void BeingPopup::show(const int x, const int y, Being *const b) num ++; } + if (!(b->getClanName().empty())) + { + ptr = mLabels[num]; + // TRANSLATORS: being popup label + ptr->setCaption(strprintf(_("Clan: %s"), + b->getClanName().c_str())); + ptr->adjustSize(); + num ++; + } + if (b->getPvpRank() > 0) { ptr = mLabels[num]; |