diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-06-04 22:08:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-06-04 22:08:04 +0300 |
commit | a865b10749df829ef46a14e244bc88ac52bc10b4 (patch) | |
tree | 244f283ab8ba6cfcc9683eafe51be7a9d7bbabbe /src/inventory.cpp | |
parent | 9b3e13d4246930f0aa4dfb86e735466032d283dd (diff) | |
download | ManaVerse-a865b10749df829ef46a14e244bc88ac52bc10b4.tar.gz ManaVerse-a865b10749df829ef46a14e244bc88ac52bc10b4.tar.bz2 ManaVerse-a865b10749df829ef46a14e244bc88ac52bc10b4.tar.xz ManaVerse-a865b10749df829ef46a14e244bc88ac52bc10b4.zip |
Add colors support for drops panel.
Delete search item function without colors support.
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r-- | src/inventory.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp index 6eb7dbf16..5e600192b 100644 --- a/src/inventory.cpp +++ b/src/inventory.cpp @@ -74,17 +74,6 @@ Item *Inventory::getItem(int index) const return mItems[index]; } -Item *Inventory::findItem(int itemId) const -{ - for (unsigned i = 0; i < mSize; i++) - { - if (mItems[i] && mItems[i]->getId() == itemId) - return mItems[i]; - } - - return 0; -} - Item *Inventory::findItem(int itemId, unsigned char color) const { for (unsigned i = 0; i < mSize; i++) |