diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-21 14:26:54 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-09-21 14:26:54 +0000 |
commit | 31940caab4a36502a1243d04a3d013bc69c20041 (patch) | |
tree | c9c9908331d26d226aca67324d7867a9db31893c | |
parent | 92213a099890fab33c501f69c6ca7bd2c44bd307 (diff) | |
download | hercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.gz hercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.bz2 hercules-31940caab4a36502a1243d04a3d013bc69c20041.tar.xz hercules-31940caab4a36502a1243d04a3d013bc69c20041.zip |
- 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
-rw-r--r-- | src/char_sql/char.c | 2 | ||||
-rw-r--r-- | src/map/pc.c | 4 |
2 files changed, 1 insertions, 5 deletions
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; } } |