Debug: Show signalled tunnel/bridge info in debug window

This commit is contained in:
Jonathan G Rennison
2022-06-22 17:57:20 +01:00
parent 229613b06a
commit b5d0c1d493
2 changed files with 29 additions and 3 deletions

View File

@@ -1171,8 +1171,7 @@ GrfSpecFeature GetGrfSpecFeature(TileIndex tile)
}
case MP_TUNNELBRIDGE: {
extern std::vector<const GRFFile *> _new_signals_grfs;
if (IsTunnelBridgeWithSignalSimulation(tile) && !_new_signals_grfs.empty()) return GSF_SIGNALS;
if (IsTunnelBridgeWithSignalSimulation(tile)) return GSF_SIGNALS;
return GSF_INVALID;
}