| 25 | } |
| 26 | |
| 27 | void Tr2ActionSetAttenuationScaling::Start( ITr2ActionController& controller ) |
| 28 | { |
| 29 | if( ITr2SoundEmitterOwnerPtr emitters = BlueCastPtr( controller.GetOwner() ) ) |
| 30 | { |
| 31 | if( auto emitter = emitters->FindSoundEmitter( m_emitterName.c_str() ) ) |
| 32 | { |
| 33 | emitter->SetAttenuationScalingFactor( GetScalingFactor() ); |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | void Tr2ActionSetAttenuationScaling::StartWithController( ITr2ActionController* controller ) |
| 39 | { |
nothing calls this directly
no test coverage detected