diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-05-05 09:18:49 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-05-05 09:18:49 +0000 |
commit | 27c42e6505a99a0464361aca0fb6e23dce9b863e (patch) | |
tree | 8fe77671450a7dde25872685d35e78b7eb9759f2 /src/gui/itemcontainer.cpp | |
parent | 974678ef41977c899c2d9229c0aae905e019ecdd (diff) | |
download | mana-client-27c42e6505a99a0464361aca0fb6e23dce9b863e.tar.gz mana-client-27c42e6505a99a0464361aca0fb6e23dce9b863e.tar.bz2 mana-client-27c42e6505a99a0464361aca0fb6e23dce9b863e.tar.xz mana-client-27c42e6505a99a0464361aca0fb6e23dce9b863e.zip |
- Equipped items now listed in inventory as "Eq.".
- Depending on whether selected inventory is equipment or item the button
which was previously only labeled "Use" will be labelled either: "Use",
"Equip" or "Unequip".
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r-- | src/gui/itemcontainer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 61e9383f..fd3020d4 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -89,6 +89,8 @@ void ItemContainer::draw(gcn::Graphics* graphics) std::stringstream ss; if(!items[i].equipped) ss << items[i].quantity; + else + ss << "Eq."; graphics->drawText(ss.str(), itemX + 12, itemY + 16, |