summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-22 04:24:20 +0200
committerKenpachi Developer <Kenpachi.Developer@gmx.de>2020-06-28 01:07:12 +0200
commitddf679b3808e56309a7352eead2cd1f93c9f99c9 (patch)
tree139c455b5b483100078c356e5b03cfca1177b1e3 /src/map/clif.c
parentb721e019717fe7254bdfd8e640847ad053d16eb1 (diff)
downloadhercules-ddf679b3808e56309a7352eead2cd1f93c9f99c9.tar.gz
hercules-ddf679b3808e56309a7352eead2cd1f93c9f99c9.tar.bz2
hercules-ddf679b3808e56309a7352eead2cd1f93c9f99c9.tar.xz
hercules-ddf679b3808e56309a7352eead2cd1f93c9f99c9.zip
Add battle flag for tip of the day window display
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 60dd18807..3f1690aa0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11066,7 +11066,8 @@ static void clif_parse_LoadEndAck(int fd, struct map_session_data *sd)
map->foreachpc(clif->friendslist_toggle_sub, sd->status.account_id, sd->status.char_id, 1);
#if PACKETVER >= 20171122
- clif->open_ui_send(sd, ZC_TIPBOX_UI);
+ if (battle_config.show_tip_window != 0)
+ clif->open_ui_send(sd, ZC_TIPBOX_UI);
#endif
// Run OnPCLoginEvent labels.