summaryrefslogtreecommitdiff
path: root/src/emap/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-13 20:08:55 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-13 20:30:34 +0300
commitf7cce6ac2d1c010af4865212dc6ddc2a7aea66a4 (patch)
tree7d65ea2e1bd9fb9379157dce324c1d601d0518e9 /src/emap/data
parent5b49e94e000d31299e9e97e339e7ad273cdfa032 (diff)
downloadplugin-f7cce6ac2d1c010af4865212dc6ddc2a7aea66a4.tar.gz
plugin-f7cce6ac2d1c010af4865212dc6ddc2a7aea66a4.tar.bz2
plugin-f7cce6ac2d1c010af4865212dc6ddc2a7aea66a4.tar.xz
plugin-f7cce6ac2d1c010af4865212dc6ddc2a7aea66a4.zip
Add support for drop script for items dropped by player.
Diffstat (limited to 'src/emap/data')
-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 fb7feed..e3ee936 100644
--- a/src/emap/data/itemd.c
+++ b/src/emap/data/itemd.c
@@ -67,6 +67,7 @@ struct ItemdExt *itemd_create(void)
data->unequipEffect = -1;
data->unequipFailEffect = -1;
data->charmItem = false;
+ data->dropScript = NULL;
memset(&data->allowedCards, 0, sizeof(data->allowedCards));
return data;
}