equal
deleted
inserted
replaced
1991 if (!suppress_message && str != STR_NULL) { |
1991 if (!suppress_message && str != STR_NULL) { |
1992 if (str > STR_LAST_STRINGID) { |
1992 if (str > STR_LAST_STRINGID) { |
1993 SetDParam(0, STR_TOWN); |
1993 SetDParam(0, STR_TOWN); |
1994 SetDParam(1, i->town->index); |
1994 SetDParam(1, i->town->index); |
1995 SetDParam(2, indspec->name); |
1995 SetDParam(2, indspec->name); |
|
1996 } else if (closeit) { |
|
1997 SetDParam(0, STR_INDUSTRY_FORMAT); |
|
1998 SetDParam(1, i->town->index); |
|
1999 SetDParam(2, indspec->name); |
1996 } else { |
2000 } else { |
1997 SetDParam(0, i->index); |
2001 SetDParam(0, i->index); |
1998 } |
2002 } |
1999 AddNewsItem(str, |
2003 AddNewsItem(str, |
2000 NEWS_FLAGS(NM_THIN, NF_VIEWPORT | NF_TILE, closeit ? NT_OPENCLOSE : NT_ECONOMY, 0), |
2004 NEWS_FLAGS(NM_THIN, NF_VIEWPORT | NF_TILE, closeit ? NT_OPENCLOSE : NT_ECONOMY, 0), |