From f607d15aca6a0eefd350b0643e42180625310967 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 28 Sep 2008 20:08:59 +0000 Subject: Commit Mantis 440: eAthena patch to strip whitespace from item and monster DBs --- src/map/mob.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index 969eed2..1304a41 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3644,6 +3644,7 @@ static int mob_readdb(void) continue; for(i=0,p=line;i<55;i++){ + while (*p == '\t' || *p == ' ') p++; if((np=strchr(p,','))!=NULL){ str[i]=p; *np=0; -- cgit v1.2.3-60-g2f50