mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 16:19:19 +02:00
sound changes
This commit is contained in:
@@ -4659,10 +4659,10 @@ void TDynamicObject::LoadMMediaFile(std::string BaseDir, std::string TypeName,
|
|||||||
>> token
|
>> token
|
||||||
>> attenuation;
|
>> attenuation;
|
||||||
rsSilnik = sound_man->create_sound(token);
|
rsSilnik = sound_man->create_sound(token);
|
||||||
|
parser.getTokens( 4, false );
|
||||||
if (rsSilnik)
|
if (rsSilnik)
|
||||||
{
|
{
|
||||||
rsSilnik->dist(attenuation);
|
rsSilnik->dist(attenuation);
|
||||||
parser.getTokens( 4, false );
|
|
||||||
|
|
||||||
parser >> rsSilnik->gain_mul;
|
parser >> rsSilnik->gain_mul;
|
||||||
if( MoverParameters->EngineType == DieselEngine ) {
|
if( MoverParameters->EngineType == DieselEngine ) {
|
||||||
@@ -4695,10 +4695,10 @@ void TDynamicObject::LoadMMediaFile(std::string BaseDir, std::string TypeName,
|
|||||||
>> token
|
>> token
|
||||||
>> attenuation;
|
>> attenuation;
|
||||||
rsWentylator = sound_man->create_sound(token);
|
rsWentylator = sound_man->create_sound(token);
|
||||||
|
parser.getTokens( 4, false );
|
||||||
if (rsWentylator)
|
if (rsWentylator)
|
||||||
{
|
{
|
||||||
rsWentylator->dist(attenuation);
|
rsWentylator->dist(attenuation);
|
||||||
parser.getTokens( 4, false );
|
|
||||||
parser
|
parser
|
||||||
>> rsWentylator->gain_mul
|
>> rsWentylator->gain_mul
|
||||||
>> rsWentylator->gain_off
|
>> rsWentylator->gain_off
|
||||||
|
|||||||
Reference in New Issue
Block a user