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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 79f338600..31bad9c6b 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2541,10 +2541,9 @@ const char* npc_parse_duplicate(char* w1, char* w2, char* w3, char* w4, const ch
return end;
}
-int npc_duplicate4instance(struct npc_data *snd, int m)
-{
+int npc_duplicate4instance(struct npc_data *snd, int m) {
char newname[NAME_LENGTH];
-
+
if( map[m].instance_id == 0 )
return 1;