mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +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
|
|
@ -859,7 +859,7 @@ bool ExplosionData::preload(bool server, String &errorStr)
|
|||
if (Parent::preload(server, errorStr) == false)
|
||||
return false;
|
||||
|
||||
if (!server && !getSFXProfile())
|
||||
if (!server && !getSoundProfile())
|
||||
return false;
|
||||
|
||||
if( !server )
|
||||
|
|
@ -1382,7 +1382,7 @@ bool Explosion::explode()
|
|||
resetWorldBox();
|
||||
}
|
||||
|
||||
SFXProfile* sound_prof = mDataBlock->getSFXProfile();
|
||||
SFXProfile* sound_prof = mDataBlock->getSoundProfile();
|
||||
if (sound_prof)
|
||||
{
|
||||
soundProfile_clone = sound_prof->cloneAndPerformSubstitutions(ss_object, ss_index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue