summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTametomo <irarice@gmail.com>2009-05-07 03:09:04 -0600
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-05-08 10:45:38 +0200
commit24d218f216b57f28d428c88279d9f098f7a0acb0 (patch)
tree228d5da952ed6cfb1f1e07c8d47e203380778429
parentd90dffbf4240650cf95f3dddf2273cb92d0cc39d (diff)
downloadMana-24d218f216b57f28d428c88279d9f098f7a0acb0.tar.gz
Mana-24d218f216b57f28d428c88279d9f098f7a0acb0.tar.bz2
Mana-24d218f216b57f28d428c88279d9f098f7a0acb0.tar.xz
Mana-24d218f216b57f28d428c88279d9f098f7a0acb0.zip
Don't complain in the logger about not having an image attribute for
negative items, since these aren't inventory items. Signed-off-by: Tametomo <irarice@gmail.com> Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
-rw-r--r--src/resources/itemdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp
index c698f597..66c07849 100644
--- a/src/resources/itemdb.cpp
+++ b/src/resources/itemdb.cpp
@@ -218,8 +218,8 @@ void ItemDB::load()
{
CHECK_PARAM(name, "");
CHECK_PARAM(description, "");
+ CHECK_PARAM(image, "");
}
- CHECK_PARAM(image, "");
// CHECK_PARAM(effect, "");
// CHECK_PARAM(type, 0);
// CHECK_PARAM(weight, 0);