diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-06 14:19:26 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-06 14:19:26 +0000 |
commit | 3adaf8788b65a84ec4266c6621d30679a95f546d (patch) | |
tree | da233eb45db1f482a4f2a86be9529c90edd76c8b /src/char/int_pet.c | |
parent | ad95c2ba955e42d74afffbb6b9b333f69a3f1b1e (diff) | |
download | hercules-3adaf8788b65a84ec4266c6621d30679a95f546d.tar.gz hercules-3adaf8788b65a84ec4266c6621d30679a95f546d.tar.bz2 hercules-3adaf8788b65a84ec4266c6621d30679a95f546d.tar.xz hercules-3adaf8788b65a84ec4266c6621d30679a95f546d.zip |
Modified showmsg code to not attach a timestamp to MSG_NONE-type messages, generated by ShowMessage(). It now works exactly like printf().
Removed/replaced all printf calls in the code.
Added a new flag to setting 'console_silent', for filtering debug messages.
Silenced the "Broken pipe found" and "Server running in debug mode" messages.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12020 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char/int_pet.c')
-rw-r--r-- | src/char/int_pet.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/char/int_pet.c b/src/char/int_pet.c index 2f06e2df5..59c705620 100644 --- a/src/char/int_pet.c +++ b/src/char/int_pet.c @@ -49,7 +49,6 @@ int inter_pet_fromstr(char *str,struct s_pet *p) memset(p,0,sizeof(struct s_pet)); -// printf("sscanf pet main info\n"); s=sscanf(str,"%d,%d,%[^\t]\t%d,%d,%d,%d,%d,%d,%d,%d,%d",&tmp_int[0],&tmp_int[1],tmp_str,&tmp_int[2], &tmp_int[3],&tmp_int[4],&tmp_int[5],&tmp_int[6],&tmp_int[7],&tmp_int[8],&tmp_int[9],&tmp_int[10]); @@ -111,7 +110,6 @@ int inter_pet_init() c++; } fclose(fp); -// printf("int_pet: %s read done (%d pets)\n",pet_txt,c); return 0; } @@ -141,7 +139,6 @@ int inter_pet_save() } pet_db->foreach(pet_db,inter_pet_save_sub,fp); lock_fclose(fp,pet_txt,&lock); -// printf("int_pet: %s saved.\n",pet_txt); return 0; } |