* Handle click on the entry in the Build Road menu. * * @param index RoadType to show the build toolbar for. * @return #CBF_NONE */
| 909 | * @return #CBF_NONE |
| 910 | */ |
| 911 | static CallBackFunction MenuClickBuildRoad(int index) |
| 912 | { |
| 913 | _last_built_roadtype = (RoadType)index; |
| 914 | ShowBuildRoadToolbar(_last_built_roadtype); |
| 915 | return CBF_NONE; |
| 916 | } |
| 917 | |
| 918 | /* --- Tram button menu --- */ |
| 919 |
nothing calls this directly
no test coverage detected