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

@ -315,10 +315,9 @@ bool HoverVehicleData::preload(bool server, String &errorStr)
for (S32 i = 0; i < MaxSounds; i++)
{
if (getHoverSounds(i) != StringTable->EmptyString() && !isHoverSoundsValid(i))
if (!isHoverSoundsValid(i))
{
Con::errorf(ConsoleLogEntry::General, "HoverVehicleData::preload: Invalid HoverSounds asset.");
return false;
//return false; -TODO: trigger asset download
}
}
for (S32 j = 0; j < MaxJetEmitters; j++)