summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
authorEugenio Favalli <elvenprogrammer@gmail.com>2005-02-25 18:09:30 +0000
committerEugenio Favalli <elvenprogrammer@gmail.com>2005-02-25 18:09:30 +0000
commitd855488fdc9830c00ed3ce71532cfd52316988f1 (patch)
treea241ce6d0da88148e9b9024ec8adbe16148aff0f /src/gui/itemcontainer.cpp
parent7369c775464aa9eae7a98bb935442b2fa2992f8e (diff)
downloadmana-d855488fdc9830c00ed3ce71532cfd52316988f1.tar.gz
mana-d855488fdc9830c00ed3ce71532cfd52316988f1.tar.bz2
mana-d855488fdc9830c00ed3ce71532cfd52316988f1.tar.xz
mana-d855488fdc9830c00ed3ce71532cfd52316988f1.zip
Fixing equipment and shops according to the new server script
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 195f9188..49a6278b 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -60,7 +60,7 @@ void ItemContainer::draw(gcn::Graphics* graphics)
for (int i = 0; i < INVENTORY_SIZE; i++) {
if (items[i].quantity > 0) {
- if (items[i].id >= 501 && items[i].id <= 2301) {
+ if (items[i].id >= 501 && items[i].id <= 1202) {
itemset->spriteset[items[i].id - 501]->draw(screen,
x + 24 * i, y + 2);