* Handle click on the entry in the Build Rail menu. * * @param index RailType to show the build toolbar for. * @return #CBF_NONE */
| 888 | * @return #CBF_NONE |
| 889 | */ |
| 890 | static CallBackFunction MenuClickBuildRail(int index) |
| 891 | { |
| 892 | _last_built_railtype = (RailType)index; |
| 893 | ShowBuildRailToolbar(_last_built_railtype); |
| 894 | return CBF_NONE; |
| 895 | } |
| 896 | |
| 897 | /* --- Road button menu --- */ |
| 898 |
nothing calls this directly
no test coverage detected