Disable realistic braking for TELE, PIPE, WIRE railtypes by default

See: #242
pull/251/head
Jonathan G Rennison 3 years ago
parent 6a62b94263
commit 74091c3c80

@ -201,6 +201,8 @@ RailType AllocateRailType(RailTypeLabel label)
* other railtypes, the 7 is to be able to place something
* before the first (default) rail type. */
rti->sorting_order = rt << 4 | 7;
if (label == 'TELE' || label == 'PIPE' || label == 'WIRE') SetBit(rti->ctrl_flags, RTCF_NOREALISTICBRAKING);
return rt;
}
}

Loading…
Cancel
Save