Fixed vending and chatrooms checking for NPCs nearby (#4805)

* Thanks to @cydh
This commit is contained in:
Daegaladh
2020-04-16 16:20:52 +02:00
committed by GitHub
parent 44b80448df
commit ba76880364

View File

@@ -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) {