src/news_gui.cpp
changeset 9354 845e07db4549
parent 9333 2da01b3b71d8
child 9405 69c042fc13a4
equal deleted inserted replaced
9353:9d76aef9fe2b 9354:845e07db4549
   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));