Changeset - r2272:3c12f58ef97a
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-08-02 20:04:09
tron@openttd.org
(svn r2794) Fix a comment and get rid of some parentheses using DeMorgan's law
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
economy.c
Show inline comments
 
@@ -821,11 +821,11 @@ Pair SetupSubsidyDecodeParam(Subsidy *s,
 
	TileIndex tile2;
 
	Pair tp;
 

	
 
	/* if mode is false, convert into plural */
 
	SetDParam(0, _cargoc.names_s[s->cargo_type] + (mode?0:32));
 
	/* if mode is false, use the singular form */
 
	SetDParam(0, _cargoc.names_s[s->cargo_type] + (mode ? 0 : 32));
 

	
 
	if (s->age < 12) {
 
		if (!(s->cargo_type == CT_PASSENGERS || s->cargo_type == CT_MAIL)) {
 
		if (s->cargo_type != CT_PASSENGERS && s->cargo_type != CT_MAIL) {
 
			SetDParam(1, STR_INDUSTRY);
 
			SetDParam(2, s->from);
 
			tile = GetIndustry(s->from)->xy;
0 comments (0 inline, 0 general)