summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2020-06-28 12:27:30 +0200
committerHaru <haru@dotalux.com>2020-06-28 12:27:57 +0200
commit8fdc97b3d38d938a610795b8477c2d49deea0f5c (patch)
tree77fdd0d3c07f351ad4d6d01a17399d18f5846fa4
parent812e02662acf62fd568cfeae4a29d4602f45833b (diff)
downloadhercules-8fdc97b3d38d938a610795b8477c2d49deea0f5c.tar.gz
hercules-8fdc97b3d38d938a610795b8477c2d49deea0f5c.tar.bz2
hercules-8fdc97b3d38d938a610795b8477c2d49deea0f5c.tar.xz
hercules-8fdc97b3d38d938a610795b8477c2d49deea0f5c.zip
Fix the use of the first_time variable in clif_parse_loadEndAck
This fixes my previous commit, 6865e6da70d8d44a9c92c2b922da4444a09f7ac3 Signed-off-by: Haru <haru@dotalux.com>
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3ace6aa2d..b2567d668 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11006,7 +11006,7 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd)
bool first_time = false;
if (sd->state.connect_new != 0) {
- first_time = false;
+ first_time = true;
sd->state.connect_new = 0;
clif->skillinfoblock(sd);
clif->hotkeysAll(sd);