mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 15:30:41 +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
|
|
@ -877,10 +877,9 @@ bool ExplosionData::preload(bool server, String &errorStr)
|
|||
if( !server )
|
||||
{
|
||||
|
||||
if (getSound() != StringTable->EmptyString() && !isSoundValid())
|
||||
if (!isSoundValid())
|
||||
{
|
||||
Con::errorf(ConsoleLogEntry::General, "ExplosionData::preload: Invalid Sound asset.");
|
||||
return false;
|
||||
//return false; -TODO: trigger asset download
|
||||
}
|
||||
|
||||
if (!particleEmitter && particleEmitterId != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue