summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2008-09-28 20:08:59 +0000
committerJared Adams <jaxad0127@gmail.com>2008-09-28 20:08:59 +0000
commitf607d15aca6a0eefd350b0643e42180625310967 (patch)
treea3867fe28c4d82a8b12ab49b768c069dcd429abd /src/map/mob.c
parent28ad0a20d0de1cd3b4f756fa5fd9207639bc8cfd (diff)
downloadtmwa-f607d15aca6a0eefd350b0643e42180625310967.tar.gz
tmwa-f607d15aca6a0eefd350b0643e42180625310967.tar.bz2
tmwa-f607d15aca6a0eefd350b0643e42180625310967.tar.xz
tmwa-f607d15aca6a0eefd350b0643e42180625310967.zip
Commit Mantis 440: eAthena patch to strip whitespace from item and monster DBs
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
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;