(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
This commit is contained in:
4
newgrf.c
4
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user