mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01: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