| 625 | //---------------------------------------------------------------------------- |
| 626 | |
| 627 | void FlyingVehicle::updateEngineSound(F32 level) |
| 628 | { |
| 629 | if ( !mEngineSound ) |
| 630 | return; |
| 631 | |
| 632 | if ( !mEngineSound->isPlaying() ) |
| 633 | mEngineSound->play(); |
| 634 | |
| 635 | mEngineSound->setTransform( getTransform() ); |
| 636 | mEngineSound->setVelocity( getVelocity() ); |
| 637 | |
| 638 | mEngineSound->setPitch( level ); |
| 639 | } |
| 640 | |
| 641 | void FlyingVehicle::updateJet(F32 dt) |
| 642 | { |
nothing calls this directly
no test coverage detected