(svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags
authorpeter1138
Fri, 20 Apr 2007 15:03:58 +0000
changeset 6503 892c9b941008
parent 6502 8056fdc57aa9
child 6504 1beaedad1611
(svn r9686) -Codechange: Update a couple of NewGRF TTDPatch flags
src/newgrf.cpp
--- a/src/newgrf.cpp	Fri Apr 20 11:39:01 2007 +0000
+++ b/src/newgrf.cpp	Fri Apr 20 15:03:58 2007 +0000
@@ -4109,11 +4109,11 @@
 	                   |                                        (0 << 0x11)  // moretoylandfeatures
 	                   |                                        (1 << 0x12)  // newstations
 	                   |                                        (0 << 0x13)  // tracktypecostdiff
-	                   |                                        (0 << 0x14)  // manualconvert
+	                   |                                        (1 << 0x14)  // manualconvert
 	                   |       ((_patches.build_on_slopes ? 1 : 0) << 0x15)  // buildoncoasts
 	                   |                                        (1 << 0x16)  // canals
 	                   |                                        (1 << 0x17)  // newstartyear
-	                   |                                        (0 << 0x18)  // freighttrains
+	                   |    ((_patches.freight_trains > 1 ? 1 : 0) << 0x18)  // freighttrains
 	                   |                                        (1 << 0x19)  // newhouses
 	                   |                                        (1 << 0x1A)  // newbridges
 	                   |                                        (0 << 0x1B)  // newtownnames