Fix PBS rail type handling with incorrect GRF rail type compatibility

This commit is contained in:
Jonathan G Rennison
2020-10-15 20:37:57 +01:00
parent 0fc0baddff
commit 92ca965ef7
5 changed files with 45 additions and 9 deletions

View File

@@ -194,6 +194,9 @@ public:
/** bitmask to the OTHER railtypes on which an engine of THIS railtype can physically travel */
RailTypes compatible_railtypes;
/** bitmask of all directly or indirectly reachable railtypes in either direction via compatible_railtypes */
RailTypes all_compatible_railtypes;
/**
* Bridge offset
*/