summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 04:18:48 +0200
committerHaru <haru@dotalux.com>2020-06-28 04:18:48 +0200
commit6865e6da70d8d44a9c92c2b922da4444a09f7ac3 (patch)
tree297c684bf76b756ff05f09f58f28901e584a947a /src/map
parent92022a5728dbd3a2e95b007276cd4eb926885bac (diff)
downloadhercules-6865e6da70d8d44a9c92c2b922da4444a09f7ac3.tar.gz
hercules-6865e6da70d8d44a9c92c2b922da4444a09f7ac3.tar.bz2
hercules-6865e6da70d8d44a9c92c2b922da4444a09f7ac3.tar.xz
hercules-6865e6da70d8d44a9c92c2b922da4444a09f7ac3.zip
Fix a missing variable in clif_parse_loadEndAck
This partially reverts bc4d22f7e0148f6b32eb420aa2bbee9b464b0381 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index bf737b4e7..3ace6aa2d 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11003,7 +11003,10 @@ 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 = false;
sd->state.connect_new = 0;
clif->skillinfoblock(sd);
clif->hotkeysAll(sd);