mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
tAlgorythm fed namespace T3D for better library interoperability. resulted in the need to specify usage in... a few places.
This commit is contained in:
parent
10dfe46ede
commit
01f0d5cfca
20 changed files with 70 additions and 69 deletions
|
|
@ -647,7 +647,7 @@ void SFXSystem::deleteWhenStopped( SFXSource* source )
|
|||
// If the source isn't already on the play-once source list,
|
||||
// put it there now.
|
||||
|
||||
Vector< SFXSource* >::iterator iter = find( mPlayOnceSources.begin(), mPlayOnceSources.end(), source );
|
||||
Vector< SFXSource* >::iterator iter = T3D::find( mPlayOnceSources.begin(), mPlayOnceSources.end(), source );
|
||||
if( iter == mPlayOnceSources.end() )
|
||||
mPlayOnceSources.push_back( source );
|
||||
}
|
||||
|
|
@ -674,7 +674,7 @@ void SFXSystem::_onRemoveSource( SFXSource* source )
|
|||
{
|
||||
// Check if it was a play once source.
|
||||
|
||||
Vector< SFXSource* >::iterator iter = find( mPlayOnceSources.begin(), mPlayOnceSources.end(), source );
|
||||
Vector< SFXSource* >::iterator iter = T3D::find( mPlayOnceSources.begin(), mPlayOnceSources.end(), source );
|
||||
if ( iter != mPlayOnceSources.end() )
|
||||
mPlayOnceSources.erase_fast( iter );
|
||||
|
||||
|
|
@ -684,7 +684,7 @@ void SFXSystem::_onRemoveSource( SFXSource* source )
|
|||
|
||||
if( dynamic_cast< SFXSound* >( source ) )
|
||||
{
|
||||
SFXSoundVector::iterator iter = find( mSounds.begin(), mSounds.end(), static_cast< SFXSound* >( source ) );
|
||||
SFXSoundVector::iterator iter = T3D::find( mSounds.begin(), mSounds.end(), static_cast< SFXSound* >( source ) );
|
||||
if( iter != mSounds.end() )
|
||||
mSounds.erase_fast( iter );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue