| 605 | } |
| 606 | |
| 607 | static void StartRoadVehSound(const RoadVehicle *v) |
| 608 | { |
| 609 | if (!PlayVehicleSound(v, VSE_START)) { |
| 610 | SoundID s = RoadVehInfo(v->engine_type)->sfx; |
| 611 | if (s == SND_19_DEPARTURE_OLD_RV_1 && (v->tick_counter & 3) == 0) { |
| 612 | s = SND_1A_DEPARTURE_OLD_RV_2; |
| 613 | } |
| 614 | SndPlayVehicleFx(s, v); |
| 615 | } |
| 616 | } |
| 617 | |
| 618 | struct RoadVehFindData { |
| 619 | int x; |
no test coverage detected