summaryrefslogtreecommitdiff
path: root/newgrf.c
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-17 20:22:35 +0000
committerrubidium <rubidium@openttd.org>2006-08-17 20:22:35 +0000
commit894d9fc12f912ba280dc4325324f5188e99fb3fb (patch)
tree0e09fbecef792005a3c390649f7cf774c8c43325 /newgrf.c
parentf4bddd0b474bffb7d68d3df2c83c9b3f09dd71d8 (diff)
downloadopenttd-894d9fc12f912ba280dc4325324f5188e99fb3fb.tar.xz
(svn r5934) -Cleanup: forgot some conversions to Year and to Date
-Cleanup: use _cur_year instead of _date for some (year based) comparisons -Cleanup: remove a magic number in favour of another (less) magic number
Diffstat (limited to 'newgrf.c')
-rw-r--r--newgrf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/newgrf.c b/newgrf.c
index a967849b0..5d557f216 100644
--- a/newgrf.c
+++ b/newgrf.c
@@ -1060,10 +1060,6 @@ static bool BridgeChangeInfo(uint brid, int numinfo, int prop, byte **bufp, int
FOR_EACH_OBJECT _bridge[brid + i].flags = grf_load_byte(&buf);
break;
- case 0x0F: /* Long year -- must be set after property 8 */
- FOR_EACH_OBJECT _bridge[brid + i].avail_year = grf_load_word(&buf);
- break;
-
default:
ret = true;
}