diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-22 03:07:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-22 03:07:34 +0300 |
commit | 84f5ea2b062a1843286b1fdeff93e8936b914ca8 (patch) | |
tree | 84192bcebf61fc65e29a36726520a324999a74aa /src | |
parent | c1352727417accc5a953749d4f089e9a1fb474d4 (diff) | |
download | plus-84f5ea2b062a1843286b1fdeff93e8936b914ca8.tar.gz plus-84f5ea2b062a1843286b1fdeff93e8936b914ca8.tar.bz2 plus-84f5ea2b062a1843286b1fdeff93e8936b914ca8.tar.xz plus-84f5ea2b062a1843286b1fdeff93e8936b914ca8.zip |
Show in skill unit menu also skill unit id.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 1ab1f4243..1231a03d3 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -426,8 +426,9 @@ void PopupMenu::showPopup(const int x, const int y, const Being *const being) if (creatorName.empty()) creatorName = strprintf("?%d", CAST_S32(id)); - mBrowserBox->addRow(strprintf("%s (%s)", + mBrowserBox->addRow(strprintf("%s, %d (%s)", name.c_str(), + CAST_S32(being->getSubType()), creatorName.c_str())); break; } |