diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:09:53 +0100 |
commit | 1249dc22081a0be982489aae8f18e1658e0cba95 (patch) | |
tree | 1ad83ad0331ac97c2d5adadab8d6d5c7bfecc884 /src/map/pc.c | |
parent | b69f7b8a5755a54df963c18ca2cdef530f05658b (diff) | |
download | hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.gz hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.bz2 hercules-1249dc22081a0be982489aae8f18e1658e0cba95.tar.xz hercules-1249dc22081a0be982489aae8f18e1658e0cba95.zip |
Change all TBL_MOB to struct mob_data as per strly guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 880acd654..403619f96 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -5259,7 +5259,7 @@ int pc_steal_item(struct map_session_data *sd,struct block_list *bl, uint16 skil if(!sd || !bl || bl->type!=BL_MOB) return 0; - md = (TBL_MOB *)bl; + md = (struct mob_data *)bl; if(md->state.steal_flag == UCHAR_MAX || ( md->sc.opt1 && md->sc.opt1 != OPT1_BURNING && md->sc.opt1 != OPT1_CRYSTALIZE ) ) //already stolen from / status change check return 0; @@ -5337,7 +5337,7 @@ int pc_steal_coin(struct map_session_data *sd, struct block_list *target) { if (!sd || !target || target->type != BL_MOB) return 0; - md = (TBL_MOB*)target; + md = (struct mob_data *)target; if (md->state.steal_coin_flag || md->sc.data[SC_STONE] || md->sc.data[SC_FREEZE] || md->status.mode&MD_BOSS) return 0; |