diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-31 21:26:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-31 21:26:22 +0300 |
commit | 1e49a9dd41900d045c94ebfe34909fa9e4dba32f (patch) | |
tree | f521e38b69ea7409645c8b6ac18fc576d9aa74d8 /src/emap/data | |
parent | 48ce547ec3ead9228f81404c7abf4ee99dbe2819 (diff) | |
download | plugin-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.gz plugin-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.bz2 plugin-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.xz plugin-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.zip |
Add into item_db.conf support for attribute AllowAmmo for bows.
This allow limit any arrow/ammo for any bows/guns.
Diffstat (limited to 'src/emap/data')
-rw-r--r-- | src/emap/data/itemd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/data/itemd.c b/src/emap/data/itemd.c index d7817e5..e516bcd 100644 --- a/src/emap/data/itemd.c +++ b/src/emap/data/itemd.c @@ -72,6 +72,7 @@ struct ItemdExt *itemd_create(void) data->takeScript = NULL; data->insertScript = NULL; VECTOR_INIT(data->allowedCards); + VECTOR_INIT(data->allowedAmmo); data->subX = 8; data->subY = 8; return data; |