From 3c234c05cfde1c26bbb44b5a0cea3409fc0d4f13 Mon Sep 17 00:00:00 2001 From: davidsiaw Date: Sun, 19 Dec 2004 00:44:27 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@616 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/char_sql/char.c') 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; } -- cgit v1.2.3-70-g09d2