summaryrefslogtreecommitdiff
path: root/src/gui/itemcontainer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemcontainer.cpp')
-rw-r--r--src/gui/itemcontainer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index e38b665f..c7ba2949 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -96,6 +96,8 @@ ItemContainer::draw(gcn::Graphics *graphics)
if (!item)
return;
+ if (item->getId() == 0)
+ continue;
Image *image = item->getInfo().getImage();
if (image)
{