mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-12 19:31:41 +00:00
clean out of the manual getSFXProfile() methods
This commit is contained in:
parent
7b137c2ee8
commit
ef652ad8b9
8 changed files with 8 additions and 37 deletions
|
|
@ -882,7 +882,7 @@ bool Projectile::onNewDataBlock( GameBaseData *dptr, bool reload )
|
|||
SFX_DELETE( mSound );
|
||||
|
||||
if ( mDataBlock->getProjectileSound() )
|
||||
mSound = SFX->createSource( mDataBlock->getSFXProfile() );
|
||||
mSound = SFX->createSource( mDataBlock->getProjectileSoundProfile() );
|
||||
}
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue