| 12 | } |
| 13 | |
| 14 | void Tr2ActionSetAudioEmitterPrefix::Start( ITr2ActionController& controller ) |
| 15 | { |
| 16 | if( ITr2SoundEmitterOwnerPtr emitters = BlueCastPtr( controller.GetOwner() ) ) |
| 17 | { |
| 18 | if( auto emitter = emitters->FindSoundEmitter( m_emitterName.c_str() ) ) |
| 19 | { |
| 20 | emitter->SetPrefix( m_prefix ); |
| 21 | } |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | void Tr2ActionSetAudioEmitterPrefix::StartWithController( ITr2ActionController* controller ) |
| 26 | { |
nothing calls this directly
no test coverage detected