diff options
author | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-22 03:15:21 +0200 |
---|---|---|
committer | Kenpachi Developer <Kenpachi.Developer@gmx.de> | 2020-06-28 01:06:17 +0200 |
commit | bc4d22f7e0148f6b32eb420aa2bbee9b464b0381 (patch) | |
tree | fd27166f3759c6c7fcc60e7e350b2639e8c4883a | |
parent | 9719e96c066701e9cb78f63bd57f56fe06998005 (diff) | |
download | hercules-bc4d22f7e0148f6b32eb420aa2bbee9b464b0381.tar.gz hercules-bc4d22f7e0148f6b32eb420aa2bbee9b464b0381.tar.bz2 hercules-bc4d22f7e0148f6b32eb420aa2bbee9b464b0381.tar.xz hercules-bc4d22f7e0148f6b32eb420aa2bbee9b464b0381.zip |
Remove obsolete variables `first_time` and `change_map` from clif_parse_LoadEndAck()
-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)); |