summaryrefslogtreecommitdiff
path: root/src/emap/data
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-10-13 21:08:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-10-13 21:09:15 +0300
commitab731862f899dd87b84613ebf12a82cdc73e094f (patch)
treee0dff28ea24a942d0ad6d07783aadbccfc5022a7 /src/emap/data
parentf7cce6ac2d1c010af4865212dc6ddc2a7aea66a4 (diff)
downloadevol-hercules-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.gz
evol-hercules-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.bz2
evol-hercules-ab731862f899dd87b84613ebf12a82cdc73e094f.tar.xz
evol-hercules-ab731862f899dd87b84613ebf12a82cdc73e094f.zip
Add support for take (pickup) script for items taked from ground 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 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;
}