|
@@ -8117,11 +8117,6 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
|
|
|
clif_status_load(&sd->bl, SI_NIGHT, 1);
|
|
|
}
|
|
|
|
|
|
-#if PACKETVER >= 20070918
|
|
|
- clif_partyinvitationstate(sd);
|
|
|
- clif_equipcheckbox(sd);
|
|
|
-#endif
|
|
|
-
|
|
|
// Notify everyone that this char logged in [Skotlex].
|
|
|
map_foreachpc(clif_friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 1);
|
|
|
|
|
@@ -8147,6 +8142,10 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
|
|
|
|
|
|
if( sd->state.changemap )
|
|
|
{// restore information that gets lost on map-change
|
|
|
+#if PACKETVER >= 20070918
|
|
|
+ clif_partyinvitationstate(sd);
|
|
|
+ clif_equipcheckbox(sd);
|
|
|
+#endif
|
|
|
if( (battle_config.bg_flee_penalty != 100 || battle_config.gvg_flee_penalty != 100) &&
|
|
|
(map_flag_gvg(sd->state.pmap) || map_flag_gvg(sd->bl.m) || map[sd->state.pmap].flag.battleground || map[sd->bl.m].flag.battleground) )
|
|
|
status_calc_bl(&sd->bl, SCB_FLEE); //Refresh flee penalty
|