summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/char_sql/char.c2
-rw-r--r--src/map/pc.c4
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;
}
}