sound safeties and future notes

This commit is contained in:
AzaezelX 2023-02-26 17:26:43 -06:00
parent 39b9b47caf
commit c4ae6258cc
15 changed files with 39 additions and 48 deletions

View file

@ -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)