summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-07 13:06:54 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-07 13:06:54 +0300
commit74a811c80e816b182b70fc2eeefd75cf7800494c (patch)
treebf5edcd09d5a53b7d6deb182dc801946440ac4f2 /src/map/npc.c
parent90f9d99976e2053dcf8448c47da615d234d83fbf (diff)
downloadevol-hercules-74a811c80e816b182b70fc2eeefd75cf7800494c.tar.gz
evol-hercules-74a811c80e816b182b70fc2eeefd75cf7800494c.tar.bz2
evol-hercules-74a811c80e816b182b70fc2eeefd75cf7800494c.tar.xz
evol-hercules-74a811c80e816b182b70fc2eeefd75cf7800494c.zip
Remove npc distance checks because it going to upstream.
Diffstat (limited to 'src/map/npc.c')
-rw-r--r--src/map/npc.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 0fc5c33..7b15491 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -20,28 +20,6 @@
#include "map/struct/npcdext.h"
#include "map/npc.h"
-struct npc_data* enpc_checknear(struct map_session_data* sd, struct block_list* bl)
-{
- struct npc_data *nd;
-
- if (!sd)
- return NULL;
-
- if (bl == NULL)
- return NULL;
- if (bl->type != BL_NPC)
- return NULL;
- nd = (TBL_NPC*)bl;
-
- if (sd->npc_id == bl->id)
- {
- hookStop();
- return nd;
- }
-
- return nd;
-}
-
void enpc_parse_unknown_mapflag(const char *name, char *w3, char *w4, const char* start,
const char* buffer, const char* filepath, int *retval)
{