* Handle click on the entry in the Train menu. * * @param index CompanyID to show train list for. * @return #CBF_NONE */
| 788 | * @return #CBF_NONE |
| 789 | */ |
| 790 | static CallBackFunction MenuClickShowTrains(int index) |
| 791 | { |
| 792 | ShowVehicleListWindow((CompanyID)index, VEH_TRAIN); |
| 793 | return CBF_NONE; |
| 794 | } |
| 795 | |
| 796 | /* --- Road vehicle button menu --- */ |
| 797 |
nothing calls this directly
no test coverage detected