diff options
author | hemagx <hemagx2@gmail.com> | 2015-12-26 11:17:14 +0200 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2016-01-06 15:14:43 +0100 |
commit | 3007a376242f00d8127e39e9e6a89c7e0e5a8b20 (patch) | |
tree | 94250ac801d65c7fdc7b979b98e9c86955ff4f0e /src/map/skill.c | |
parent | 1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2 (diff) | |
download | hercules-3007a376242f00d8127e39e9e6a89c7e0e5a8b20.tar.gz hercules-3007a376242f00d8127e39e9e6a89c7e0e5a8b20.tar.bz2 hercules-3007a376242f00d8127e39e9e6a89c7e0e5a8b20.tar.xz hercules-3007a376242f00d8127e39e9e6a89c7e0e5a8b20.zip |
Change all TBL_NPC to struct npc_data as per style guidelines
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c index 9f7ecc049..85de43198 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -10051,8 +10051,9 @@ int skill_castend_pos(int tid, int64 tick, int id, intptr_t data) return 0; } -static int check_npc_chaospanic(struct block_list* bl, va_list args) { - TBL_NPC* nd = (TBL_NPC*)bl; +static int check_npc_chaospanic(struct block_list *bl, va_list args) +{ + struct npc_data *nd = (struct npc_data *)bl; if( nd->option&(OPTION_HIDE|OPTION_INVISIBLE) || nd->class_ != 45 ) return 0; |