summaryrefslogtreecommitdiff
path: root/src/emap/data
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/data')
-rw-r--r--src/emap/data/itemd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emap/data/itemd.c b/src/emap/data/itemd.c
index 2a4ba80..d7817e5 100644
--- a/src/emap/data/itemd.c
+++ b/src/emap/data/itemd.c
@@ -71,7 +71,7 @@ struct ItemdExt *itemd_create(void)
data->dropScript = NULL;
data->takeScript = NULL;
data->insertScript = NULL;
- memset(&data->allowedCards, 0, sizeof(data->allowedCards));
+ VECTOR_INIT(data->allowedCards);
data->subX = 8;
data->subY = 8;
return data;