mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-18 22:39:18 +02:00
build 191212. gamepad input configuration support, minor bug fixes
This commit is contained in:
@@ -6844,7 +6844,7 @@ TDynamicObject::powertrain_sounds::render( TMoverParameters const &Vehicle, doub
|
||||
volume = 0.0;
|
||||
if( false == motors.empty() ) {
|
||||
|
||||
if( std::abs( Vehicle.enrot ) > 0.01 ) {
|
||||
if( std::abs( Vehicle.nrot ) > 0.01 ) {
|
||||
|
||||
auto const &motor { motors.front() };
|
||||
// frequency calculation
|
||||
|
||||
Reference in New Issue
Block a user