summaryrefslogtreecommitdiff
path: root/src/emap/data/itemd.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-17 17:55:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-17 17:55:24 +0300
commit45e89b39985270e12d5f8eb19c666c8fd0562661 (patch)
treeac6489310ab4e6e5804f8930a6346472d1cfee32 /src/emap/data/itemd.c
parent38efe26b9982a176f89910f9b6b3650558175360 (diff)
downloadplugin-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.gz
plugin-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.bz2
plugin-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.xz
plugin-45e89b39985270e12d5f8eb19c666c8fd0562661.zip
Read card limits from item db.
Diffstat (limited to 'src/emap/data/itemd.c')
-rw-r--r--src/emap/data/itemd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/data/itemd.c b/src/emap/data/itemd.c
index 6768ad4..b0300fb 100644
--- a/src/emap/data/itemd.c
+++ b/src/emap/data/itemd.c
@@ -67,5 +67,6 @@ struct ItemdExt *itemd_create(void)
data->unequipEffect = -1;
data->unequipFailEffect = -1;
data->charmItem = false;
+ memset(&data->allowedCards, 0, sizeof(data->allowedCards));
return data;
}