mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-27 15:25:40 +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
|
|
@ -517,10 +517,9 @@ bool afxMagicMissileData::preload(bool server, String &errorStr)
|
|||
Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid packet, bad datablockId(decal): %d", decalId);
|
||||
*/
|
||||
|
||||
if (getProjectileSound() != StringTable->EmptyString() && !isProjectileSoundValid())
|
||||
if (!isProjectileSoundValid())
|
||||
{
|
||||
Con::errorf(ConsoleLogEntry::General, "afxMagicMissileData::preload: Invalid ProjectileSound asset.");
|
||||
return false;
|
||||
//return false; -TODO: trigger asset download
|
||||
}
|
||||
|
||||
if (!lightDesc && lightDescId != 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue