mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-20 20:05:33 +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
|
|
@ -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++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue