diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/log.c | 2 | ||||
-rw-r--r-- | src/map/mob.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/log.c b/src/map/log.c index b788ab3ba..e37aeae6b 100644 --- a/src/map/log.c +++ b/src/map/log.c @@ -59,7 +59,7 @@ int log_drop(struct map_session_data *sd, int monster_id, int *log_drop) time_t curtime; time(&curtime); strftime(timestring, 254, "%m/%d/%Y %H:%M:%S", localtime(&curtime)); - fprintf(logfp,"%s - %s[%d:%d]\t%d\t%d,%d,%d,%d,%d,%d,%d,%d%s", timestring, sd->status.name, sd->status.account_id, sd->status.char_id, monster_id, log_drop[0], log_drop[1], log_drop[2], log_drop[3], log_drop[4], log_drop[5], log_drop[6], log_drop[7], RETCODE); + fprintf(logfp,"%s - %s[%d:%d]\t%d\t%d,%d,%d,%d,%d,%d,%d,%d,%d,%d%s", timestring, sd->status.name, sd->status.account_id, sd->status.char_id, monster_id, log_drop[0], log_drop[1], log_drop[2], log_drop[3], log_drop[4], log_drop[5], log_drop[6], log_drop[7], log_drop[8], log_drop[9], RETCODE); fclose(logfp); } #ifndef TXT_ONLY diff --git a/src/map/mob.c b/src/map/mob.c index da90f18c2..7d87b1b98 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -4364,7 +4364,7 @@ static int mob_read_sqldb(void) sql_row[40],sql_row[41],sql_row[42],sql_row[43],sql_row[44], sql_row[45],sql_row[46],sql_row[47],sql_row[48],sql_row[49], sql_row[50],sql_row[51],sql_row[52],sql_row[53],sql_row[54], - sql_row[56],sql_row[57],sql_row[58],sql_row[59]); + sql_row[55],sql_row[56],sql_row[57],sql_row[58],sql_row[59]); for(i=0,p=line;i<60;i++){ if((np=strchr(p,','))!=NULL){ |