summaryrefslogtreecommitdiff
path: root/src/emap/data/itemd.c
diff options
context:
space:
mode:
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 e3ee936..a32c308 100644
--- a/src/emap/data/itemd.c
+++ b/src/emap/data/itemd.c
@@ -68,6 +68,7 @@ struct ItemdExt *itemd_create(void)
data->unequipFailEffect = -1;
data->charmItem = false;
data->dropScript = NULL;
+ data->takeScript = NULL;
memset(&data->allowedCards, 0, sizeof(data->allowedCards));
return data;
}