diff --git a/src/map/npc.cpp b/src/map/npc.cpp index d12e24df3a..acf962399f 100644 --- a/src/map/npc.cpp +++ b/src/map/npc.cpp @@ -160,9 +160,10 @@ int npc_isnear_sub(struct block_list* bl, va_list args) { if (skill->unit_nonearnpc_type&SKILL_NONEAR_TOMB && nd->subtype == NPCTYPE_TOMB) return 1; } + return 0; } - return 0; + return 1; } bool npc_isnear(struct block_list * bl) {