summaryrefslogtreecommitdiff
path: root/src/newgrf.cpp
diff options
context:
space:
mode:
authormaedhros <maedhros@openttd.org>2007-05-10 16:03:06 +0000
committermaedhros <maedhros@openttd.org>2007-05-10 16:03:06 +0000
commit3cc31aae86854f41216da507de667e61df73b295 (patch)
treefb98ee0f7bcded9ffb061f6e7d4b0448d35332db /src/newgrf.cpp
parent9643fd7638ee7d01c4182c1d4259d1e91b424ff8 (diff)
downloadopenttd-3cc31aae86854f41216da507de667e61df73b295.tar.xz
(svn r9823) -Feature: Add support for house property 1F - minimum life span.
Diffstat (limited to 'src/newgrf.cpp')
-rw-r--r--src/newgrf.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index b4f741e87..79a19fa97 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -1429,6 +1429,10 @@ static bool TownHouseChangeInfo(uint hid, int numinfo, int prop, byte **bufp, in
}
break;
+ case 0x1F: // Minimum life span
+ FOR_EACH_OBJECT housespec[i]->minimum_life = grf_load_byte(&buf);
+ break;
+
default:
ret = true;
break;