summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2011-04-07 22:40:27 +0000
committerplanetmaker <planetmaker@openttd.org>2011-04-07 22:40:27 +0000
commit4313c0a0c8d2e17518ba8e34f227682cf1d5cf13 (patch)
tree01c8dc54d17967f8b54a37aff82c7fef7c7cf683
parent87d07f19e833e377c6dc1b84acd651d804dfe90b (diff)
downloadopenttd-4313c0a0c8d2e17518ba8e34f227682cf1d5cf13.tar.xz
(svn r22300) -Fix (r22299): Missing out on a ! can have the opposite effect of what was intended
-rw-r--r--src/newgrf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index cecec6d55..b686bc920 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -7652,6 +7652,7 @@ static void FinaliseHouseArray()
* 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;
}
}