summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-17 19:19:04 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-17 19:19:04 +0000
commitc018ccfb1a652ae23b0409f7256f1c24839e14cf (patch)
tree7f8f5b0f09a6c30de24033889e8f7a0819a522f7 /src
parent4f192318c6ce14dc231dba81426161cb7d450738 (diff)
downloadhercules-c018ccfb1a652ae23b0409f7256f1c24839e14cf.tar.gz
hercules-c018ccfb1a652ae23b0409f7256f1c24839e14cf.tar.bz2
hercules-c018ccfb1a652ae23b0409f7256f1c24839e14cf.tar.xz
hercules-c018ccfb1a652ae23b0409f7256f1c24839e14cf.zip
2 fast bugfixes
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1127 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/log.c2
-rw-r--r--src/map/mob.c2
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){