summaryrefslogtreecommitdiff
path: root/src/map/npc.c
diff options
context:
space:
mode:
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)
{