MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / IsTypeAvailable

Method IsTypeAvailable

src/rail_gui.cpp:1024–1027  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1022 }
1023
1024 bool IsTypeAvailable(int cls_id, int id) const override
1025 {
1026 return IsStationAvailable(this->GetSpec(cls_id, id));
1027 }
1028
1029 void DrawType(int x, int y, int cls_id, int id) const override
1030 {

Callers

nothing calls this directly

Calls 2

IsStationAvailableFunction · 0.85
GetSpecMethod · 0.45

Tested by

no test coverage detected