src/news_gui.cpp
changeset 10703 2c998f3776d1
parent 10681 3aa3de4d448b
child 10766 db9ef2a1830a
equal deleted inserted replaced
10702:d36547edcb86 10703:2c998f3776d1
   396 	ni->string_id = string;
   396 	ni->string_id = string;
   397 	ni->subtype = subtype;
   397 	ni->subtype = subtype;
   398 	ni->flags = _news_subtype_data[subtype].flags;
   398 	ni->flags = _news_subtype_data[subtype].flags;
   399 
   399 
   400 	/* show this news message in color? */
   400 	/* show this news message in color? */
   401 	if (_cur_year >= _patches.colored_news_year) ni->flags |= NF_INCOLOR;
   401 	if (_cur_year >= _settings.gui.colored_news_year) ni->flags |= NF_INCOLOR;
   402 
   402 
   403 	ni->data_a = data_a;
   403 	ni->data_a = data_a;
   404 	ni->data_b = data_b;
   404 	ni->data_b = data_b;
   405 	ni->date = _date;
   405 	ni->date = _date;
   406 	CopyOutDParam(ni->params, 0, lengthof(ni->params));
   406 	CopyOutDParam(ni->params, 0, lengthof(ni->params));