summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/map/npc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/npc.c b/src/map/npc.c
index 0335e9c..6f09777 100644
--- a/src/map/npc.c
+++ b/src/map/npc.c
@@ -2343,9 +2343,9 @@ int do_init_npc (void)
|| (j && line[j - 1] == ',')))
line[j++] = ' ';
}
- else if (line[i] == '\t')
+ else if (line[i] == '\t' || line[i] == '|')
{
- if (!(j && line[j - 1] == '\t'))
+ if (!(j && (line[j - 1] == '\t' || line[j - 1] == '|')))
line[j++] = '\t';
}
else