mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 12:30:31 +00:00
sound safeties and future notes
This commit is contained in:
parent
39b9b47caf
commit
c4ae6258cc
15 changed files with 39 additions and 48 deletions
|
|
@ -153,10 +153,9 @@ bool SFXAmbience::preload( bool server, String& errorStr )
|
|||
if( !sfxResolve( &mEnvironment, errorStr ) )
|
||||
return false;
|
||||
|
||||
if (getSoundTrack() != StringTable->EmptyString() && !isSoundTrackValid())
|
||||
if (!isSoundTrackValid())
|
||||
{
|
||||
Con::errorf(ConsoleLogEntry::General, "SFXAmbience::preload: Invalid SoundTrack asset.");
|
||||
return false;
|
||||
//return false; -TODO: trigger asset download
|
||||
}
|
||||
|
||||
for( U32 i = 0; i < MaxStates; ++ i )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue