diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/clif.c | 2 | ||||
-rw-r--r-- | src/map/mail.c | 2 | ||||
-rw-r--r-- | src/map/skill.c | 1 |
3 files changed, 4 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 20db97554..3761f52bf 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -10871,7 +10871,7 @@ static int packetdb_readdb(void) char line[1024]; int ln=0; int cmd,j,k,packet_ver; - char *str[32],*p,*str2[32],*p2,w1[24],w2[24]; + char *str[64],*p,*str2[64],*p2,w1[64],w2[64]; struct { void (*func)(int, struct map_session_data *); diff --git a/src/map/mail.c b/src/map/mail.c index 46e80be9f..42a83de52 100644 --- a/src/map/mail.c +++ b/src/map/mail.c @@ -1,3 +1,4 @@ +#ifndef TXT_ONLY // Mail System for eAthena SQL // Created by Valaris // moved all strings to msg_athena.conf [Lupus] @@ -333,3 +334,4 @@ int do_init_mail(void) return 0; } +#endif diff --git a/src/map/skill.c b/src/map/skill.c index b6010f151..0ea0c81fa 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -9394,6 +9394,7 @@ int skill_readdb(void) printf("can't read db/skill_unit_db.txt\n"); return 1; } + k = 0; while (fgets(line,1020,fp)) { char *split[50]; if (line[0]=='/' && line[1]=='/') |