diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-07-31 19:44:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-07-31 19:44:17 +0300 |
commit | 48ce547ec3ead9228f81404c7abf4ee99dbe2819 (patch) | |
tree | 20d0f2e21b729a7f59cece8b2c1102ca569bb166 /src/emap/data | |
parent | 1a4218d46ecbed547be1a6849448bbfa3ef82bf3 (diff) | |
download | evol-hercules-48ce547ec3ead9228f81404c7abf4ee99dbe2819.tar.gz evol-hercules-48ce547ec3ead9228f81404c7abf4ee99dbe2819.tar.bz2 evol-hercules-48ce547ec3ead9228f81404c7abf4ee99dbe2819.tar.xz evol-hercules-48ce547ec3ead9228f81404c7abf4ee99dbe2819.zip |
Use VECTOR for allowed cards array.
Diffstat (limited to 'src/emap/data')
-rw-r--r-- | src/emap/data/itemd.c | 2 |
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; |