diff options
author | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-01 06:41:26 +0000 |
---|---|---|
committer | Guillaume Melquiond <guillaume.melquiond@gmail.com> | 2007-10-01 06:41:26 +0000 |
commit | 3b79ce4edf01b19a9ca0d1cb75ce38da8384b41d (patch) | |
tree | 4a4cb6b490acdb05d4d414c2493223a4a3845baa /src/resources | |
parent | 3a3789a2c8cca53ece5ede1de9ee6d96707c76fc (diff) | |
download | mana-client-3b79ce4edf01b19a9ca0d1cb75ce38da8384b41d.tar.gz mana-client-3b79ce4edf01b19a9ca0d1cb75ce38da8384b41d.tar.bz2 mana-client-3b79ce4edf01b19a9ca0d1cb75ce38da8384b41d.tar.xz mana-client-3b79ce4edf01b19a9ca0d1cb75ce38da8384b41d.zip |
Fixed inventory display with respect to empty slots.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/itemdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 18952ae9..157e522c 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -171,7 +171,7 @@ void ItemDB::unload() const ItemInfo& ItemDB::get(int id) { - assert(mLoaded); + assert(mLoaded && id); ItemInfoIterator i = mItemInfos.find(id); |