From 31940caab4a36502a1243d04a3d013bc69c20041 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 21 Sep 2006 14:26:54 +0000 Subject: - Removed the unrecognized class error messages from pc_mapid2jobid and pc_jobid2mapid since these can now trigger normally through the use of the script functions roclass and eaclass. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/char_sql/char.c | 2 +- src/map/pc.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'src') diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 2ffc16e9b..e9709b5d3 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -83,7 +83,7 @@ in_addr_t char_ip = 0; char bind_ip_str[128]; in_addr_t bind_ip = 0; int char_port = 6121; -int char_maintenance; +int char_maintenance = 0; int char_new; int char_new_display; int name_ignoring_case = 0; // Allow or not identical name for characters but with a different case by [Yor] diff --git a/src/map/pc.c b/src/map/pc.c index 975c4a5c7..7287c0c81 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -3665,8 +3665,6 @@ int pc_jobid2mapid(unsigned short b_class) class_ = MAPID_XMAS; break; default: - if (battle_config.error_log) - ShowError("pc_jobid2mapid: Unrecognized job %d!\n", b_class); return -1; } return class_; @@ -3816,8 +3814,6 @@ int pc_mapid2jobid(unsigned short class_, int sex) { case MAPID_BABY_ROGUE: return JOB_BABY_ROGUE; default: - if (battle_config.error_log) - ShowError("pc_mapid2jobid: Unrecognized job %d!\n", class_); return -1; } } -- cgit v1.2.3-70-g09d2