src/industry_cmd.cpp
changeset 9739 9cf125da8789
parent 9732 80088f3badcc
child 9938 69311c7f3af3
--- a/src/industry_cmd.cpp	Tue Jul 29 22:19:37 2008 +0000
+++ b/src/industry_cmd.cpp	Wed Jul 30 01:53:03 2008 +0000
@@ -1688,7 +1688,7 @@
 		} else {
 			SetDParam(1, ind->town->index);
 		}
-		AddNewsItem(indspec->new_industry_text, NS_OPENCLOSE, ind->xy, 0);
+		AddNewsItem(indspec->new_industry_text, NS_INDUSTRY_OPEN, ind->xy, 0);
 	}
 
 	return CommandCost(EXPENSES_OTHER, indspec->GetConstructionCost());
@@ -1890,7 +1890,7 @@
 		SetDParam(1, ind->town->index);
 	}
 	AddNewsItem(ind_spc->new_industry_text,
-		NS_OPENCLOSE, ind->xy, 0);
+		NS_INDUSTRY_OPEN, ind->xy, 0);
 }
 
 /**
@@ -2205,7 +2205,7 @@
 		NewsSubtype ns;
 		/* Compute news category */
 		if (closeit) {
-			ns = NS_OPENCLOSE;
+			ns = NS_INDUSTRY_CLOSE;
 		} else {
 			switch (WhoCanServiceIndustry(i)) {
 				case 0: ns = NS_INDUSTRY_NOBODY; break;