Merge branch 'master' into jgrpp
# Conflicts: # src/dock_gui.cpp # src/rail_gui.cpp # src/road_gui.cpp # src/terraform_gui.cpp # src/vehicle.cpp # src/video/allegro_v.cpp # src/video/cocoa/cocoa_v.mm # src/video/dedicated_v.cpp # src/video/sdl2_v.cpp # src/video/sdl_v.cpp # src/video/win32_v.cpp
This commit is contained in:
@@ -2993,11 +2993,11 @@ bool Train::FindClosestDepot(TileIndex *location, DestinationID *destination, bo
|
||||
void Train::PlayLeaveStationSound() const
|
||||
{
|
||||
static const SoundFx sfx[] = {
|
||||
SND_04_TRAIN,
|
||||
SND_0A_TRAIN_HORN,
|
||||
SND_0A_TRAIN_HORN,
|
||||
SND_47_MAGLEV_2,
|
||||
SND_41_MAGLEV
|
||||
SND_04_DEPARTURE_STEAM,
|
||||
SND_0A_DEPARTURE_TRAIN,
|
||||
SND_0A_DEPARTURE_TRAIN,
|
||||
SND_47_DEPARTURE_MONORAIL,
|
||||
SND_41_DEPARTURE_MAGLEV
|
||||
};
|
||||
|
||||
if (PlayVehicleSound(this, VSE_START)) return;
|
||||
@@ -4633,7 +4633,7 @@ static bool CheckTrainCollision(Train *v)
|
||||
AddTileNewsItem(STR_NEWS_TRAIN_CRASH, NT_ACCIDENT, v->tile);
|
||||
|
||||
ModifyStationRatingAround(v->tile, v->owner, -160, 30);
|
||||
if (_settings_client.sound.disaster) SndPlayVehicleFx(SND_13_BIG_CRASH, v);
|
||||
if (_settings_client.sound.disaster) SndPlayVehicleFx(SND_13_TRAIN_COLLISION, v);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user