summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorhemagx <hemagx2@gmail.com>2015-12-26 11:17:14 +0200
committerHaru <haru@dotalux.com>2016-01-06 15:14:43 +0100
commit3007a376242f00d8127e39e9e6a89c7e0e5a8b20 (patch)
tree94250ac801d65c7fdc7b979b98e9c86955ff4f0e /src/map/mob.c
parent1f71f41ee0fdf23680b40ba3d5bd63629e87c3e2 (diff)
downloadhercules-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/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e4eb00431..f52918d23 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1184,7 +1184,7 @@ int mob_warpchase_sub(struct block_list *bl,va_list ap) {
target_nd= va_arg(ap, struct npc_data**);
min_distance= va_arg(ap, int*);
- nd = (TBL_NPC*) bl;
+ nd = (struct npc_data *)bl;
if(nd->subtype != WARP)
return 0; //Not a warp