diff options
author | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-11 22:59:27 +0000 |
---|---|---|
committer | Jan-Fabian Humann <malastare@gmx.net> | 2005-05-11 22:59:27 +0000 |
commit | a95de401e0a8b443865f2d25ecc70fe138ef7957 (patch) | |
tree | 72f1e6ead74adc39c3b0d048ca8ab4ea5be96d79 /src/gui/itemcontainer.cpp | |
parent | 732f50f7408a76e108d0af14aa3aaaa81391b1a9 (diff) | |
download | mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.gz mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.bz2 mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.tar.xz mana-a95de401e0a8b443865f2d25ecc70fe138ef7957.zip |
another trade update: selecting items is more logical now, name and desc. are being displayed
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r-- | src/gui/itemcontainer.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp index 05a1f4de..a5c70632 100644 --- a/src/gui/itemcontainer.cpp +++ b/src/gui/itemcontainer.cpp @@ -169,6 +169,11 @@ void ItemContainer::resetItems() } } +void ItemContainer::selectNone() +{ + selectedItem = -1; +} + void ItemContainer::removeItem(int id) { for (int i = 0; i < INVENTORY_SIZE; i++) { |