diff options
author | Guilherme G. Menaldo <guilherme.menaldo@outlook.com> | 2019-02-24 17:05:43 -0300 |
---|---|---|
committer | Guilherme Menaldo <guilherme.menaldo@outlook.com> | 2019-04-20 15:45:56 -0300 |
commit | e88c941e4dc92d6028960f753cdf6ccd0e7a2fc7 (patch) | |
tree | 8d412c59ccb43aedd948af5e68376de881d5df35 /src/map/mob.c | |
parent | d34df93e14582b1c2ad43763666d674b7e8440ca (diff) | |
download | hercules-e88c941e4dc92d6028960f753cdf6ccd0e7a2fc7.tar.gz hercules-e88c941e4dc92d6028960f753cdf6ccd0e7a2fc7.tar.bz2 hercules-e88c941e4dc92d6028960f753cdf6ccd0e7a2fc7.tar.xz hercules-e88c941e4dc92d6028960f753cdf6ccd0e7a2fc7.zip |
Moved mob drop data to its own structure
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index a72e3bc42..8dac1ea43 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2667,11 +2667,7 @@ static int mob_dead(struct mob_data *md, struct block_list *src, int type) if (!(map->list[m].flag.nomvploot || type&1)) { /* pose them randomly in the list -- so on 100% drop servers it wont always drop the same item */ - struct { - int nameid; - int p; - struct optdrop_group *options; - } mdrop[MAX_MVP_DROP] = { { 0 } }; + struct mob_drop mdrop[MAX_MVP_DROP] = { { 0 } }; for (i = 0; i < MAX_MVP_DROP; i++) { int rpos; |