File diff r4292:340dc5050536 → r4293:cbb984a32af5
news_gui.c
Show inline comments
 
@@ -255,13 +255,13 @@ void AddNewsItem(StringID string, uint32
 

	
 
	ni->string_id = string;
 
	ni->display_mode = (byte)flags;
 
	ni->flags = (byte)(flags >> 8) | NF_NOEXPIRE;
 

	
 
	// show this news message in color?
 
	if (_date >= ConvertIntDate(_patches.colored_news_year))
 
	if (_cur_year >= _patches.colored_news_year)
 
		ni->flags |= NF_INCOLOR;
 

	
 
	ni->type = (byte)(flags >> 16);
 
	ni->callback = (byte)(flags >> 24);
 
	ni->data_a = data_a;
 
	ni->data_b = data_b;