summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 199602cbc..25bfaa9e9 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7861,6 +7861,9 @@ int pc_readdb(void)
p=strchr(p,',');
if(p) *p++=0;
}
+ if( j < 2 )
+ continue;
+
lv=atoi(split[0]);
n=atoi(split[1]);