mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
build 200711. vehicle-specific rain sound support
This commit is contained in:
@@ -179,7 +179,8 @@ world_environment::update() {
|
||||
"day:" :
|
||||
"night:" );
|
||||
|
||||
if( Global.Weather == "rain:" ) {
|
||||
if( ( true == ( FreeFlyModeFlag || Global.CabWindowOpen ) )
|
||||
&& ( Global.Weather == "rain:" ) ) {
|
||||
m_precipitationsound.play( sound_flags::exclusive | sound_flags::looping );
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user