changeset 17536:a99023ab26fc draft

(svn r22300) -Fix (r22299): Missing out on a ! can have the opposite effect of what was intended
author planetmaker <planetmaker@openttd.org>
date Thu, 07 Apr 2011 22:40:27 +0000
parents 29079caa99d6
children 16ddd3699d62
files src/newgrf.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -7652,6 +7652,7 @@
 			 * building_flags to zero here to make sure any house following
 			 * this one in the pool is properly handled as 1x1 house. */
 			hs->building_flags = TILE_NO_FLAG;
+		} else {
 			if (hs->min_year < min_year) min_year = hs->min_year;
 		}
 	}