- 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://svn.code.sf.net/p/rathena/svn/trunk@8833 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex 2006-09-21 14:26:54 +00:00
parent d96b18145c
commit c105112227
2 changed files with 1 additions and 5 deletions

View File

@ -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]

View File

@ -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;
}
}