diff options
author | davidsiaw <davidsiaw@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 00:44:27 +0000 |
---|---|---|
committer | davidsiaw <davidsiaw@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2004-12-19 00:44:27 +0000 |
commit | 3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13 (patch) | |
tree | e35eff56eb42a6d328be37f405832670d36a9974 | |
parent | 1d166c05fe0540689e3fb7955c618306b58629c6 (diff) | |
download | hercules-3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13.tar.gz hercules-3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13.tar.bz2 hercules-3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13.tar.xz hercules-3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13.zip |
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@616 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | src/char_sql/char.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 0afc6a859..f87e1f791 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -976,8 +976,9 @@ int mmo_char_fromsql(int char_id, struct mmo_charstatus *p, int online){ sql_row = mysql_fetch_row(sql_res); i=mysql_num_rows(sql_res); - - printf("mysql: %d\n",i); + + // debugg + //printf("mysql: %d\n",i); // Create an entry for the character if it doesnt already have one if(!i) { @@ -988,7 +989,6 @@ int mmo_char_fromsql(int char_id, struct mmo_charstatus *p, int online){ if (sql_res) { for(i=0;i<20;i++) { - //printf("\nLOL\n"); p->friend_id[i] = atoi(sql_row[i*2 +2]); sprintf(p->friend_name[i], "%s", sql_row[i*2 +3]); } @@ -1004,9 +1004,7 @@ int mmo_char_fromsql(int char_id, struct mmo_charstatus *p, int online){ set_char_online(char_id,p->account_id); } - printf("character data loaded]\n"); //ok. all data load successfuly! - - //printf("char cloade"); + printf("char data load success]\n"); //ok. all data load successfuly! return 1; } |