Shows the vehicle view window of the given vehicle. */
| 3430 | |
| 3431 | /** Shows the vehicle view window of the given vehicle. */ |
| 3432 | void ShowVehicleViewWindow(const Vehicle *v) |
| 3433 | { |
| 3434 | AllocateWindowDescFront<VehicleViewWindow>((v->type == VEH_TRAIN) ? _train_view_desc : _vehicle_view_desc, v->index); |
| 3435 | } |
| 3436 | |
| 3437 | /** |
| 3438 | * Dispatch a "vehicle selected" event if any window waits for it. |
no outgoing calls
no test coverage detected