From bde900dfdd835809f789fc2e274320b99ebf94af Mon Sep 17 00:00:00 2001 From: gunnar_g Date: Tue, 7 Feb 2012 11:56:55 +0000 Subject: [PATCH] Fixed bug request 3257236, always show news after a match --- src/game_gui.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/game_gui.c b/src/game_gui.c index 41173620..9b2eb2f7 100644 --- a/src/game_gui.c +++ b/src/game_gui.c @@ -534,6 +534,12 @@ game_gui_show_main(void) current_user.counters[COUNT_USER_TOOK_TURN] = 1; + if((opt_int("int_opt_news_popup") == 2 || + (opt_int("int_opt_news_popup") == 1 && + counters[COUNT_NEW_NEWS] == 1)) && + counters[COUNT_NEWS_SHOWN] == 0 && + counters[COUNT_NEW_NEWS] != 0) + on_menu_news_activate(NULL, NULL); if(current_user.counters[COUNT_USER_SHOW_RES] && stat0 != STATUS_LIVE_GAME_PAUSE) { on_menu_user_show_last_stats_activate(NULL, NULL);