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:
@@ -728,10 +728,10 @@ static void TileLoopTreesDesert(TileIndex tile)
|
||||
|
||||
case TROPICZONE_RAINFOREST: {
|
||||
static const SoundFx forest_sounds[] = {
|
||||
SND_42_LOON_BIRD,
|
||||
SND_43_LION,
|
||||
SND_44_MONKEYS,
|
||||
SND_48_DISTANT_BIRD
|
||||
SND_42_RAINFOREST_1,
|
||||
SND_43_RAINFOREST_2,
|
||||
SND_44_RAINFOREST_3,
|
||||
SND_48_RAINFOREST_4
|
||||
};
|
||||
uint32 r = Random();
|
||||
|
||||
@@ -765,7 +765,7 @@ static void TileLoopTreesAlps(TileIndex tile)
|
||||
if (GetTreeDensity(tile) == 3) {
|
||||
uint32 r = Random();
|
||||
if (Chance16I(1, 200, r) && _settings_client.sound.ambient) {
|
||||
SndPlayTileFx((r & 0x80000000) ? SND_39_HEAVY_WIND : SND_34_WIND, tile);
|
||||
SndPlayTileFx((r & 0x80000000) ? SND_39_ARCTIC_SNOW_2 : SND_34_ARCTIC_SNOW_1, tile);
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
Reference in New Issue
Block a user