diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 2eb2b903f..92c599f51 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -11000,10 +11000,7 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd) status_calc_bl(&sd->ed->bl, SCB_SPEED); // Elementals mimic their master's speed on each map change. } - bool first_time = false; - if (sd->state.connect_new != 0) { - first_time = true; sd->state.connect_new = 0; clif->skillinfoblock(sd); clif->hotkeysAll(sd); @@ -11091,8 +11088,6 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd) } } - bool change_map = (sd->state.changemap != 0); - if (sd->state.changemap != 0) { // Restore information that gets lost on map-change. bool flee_penalty = (battle_config.bg_flee_penalty != 100 || battle_config.gvg_flee_penalty != 100); bool is_gvg = (map_flag_gvg2(sd->state.pmap) || map_flag_gvg2(sd->bl.m)); |