Add road/tram type flag to disallow tunnels
This commit is contained in:
@@ -1791,9 +1791,10 @@ class NIHRoadType : public NIHelper {
|
||||
HasBit(rti->flags, ROTF_HIDDEN) ? 'h' : '-',
|
||||
HasBit(rti->flags, ROTF_TOWN_BUILD) ? 'T' : '-');
|
||||
output.print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " Extra Flags: %c%c",
|
||||
seprintf(buffer, lastof(buffer), " Extra Flags: %c%c%c",
|
||||
HasBit(rti->extra_flags, RXTF_NOT_AVAILABLE_AI_GS) ? 's' : '-',
|
||||
HasBit(rti->extra_flags, RXTF_NO_TOWN_MODIFICATION) ? 't' : '-');
|
||||
HasBit(rti->extra_flags, RXTF_NO_TOWN_MODIFICATION) ? 't' : '-',
|
||||
HasBit(rti->extra_flags, RXTF_NO_TUNNELS) ? 'T' : '-');
|
||||
output.print(buffer);
|
||||
seprintf(buffer, lastof(buffer), " Collision mode: %u", rti->collision_mode);
|
||||
output.print(buffer);
|
||||
|
Reference in New Issue
Block a user