|
@@ -368,10 +368,9 @@ bool ProjectileData::preload(bool server, String &errorStr)
|
|
if (Sim::findObject(decalId, decal) == false)
|
|
if (Sim::findObject(decalId, decal) == false)
|
|
Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid packet, bad datablockId(decal): %d", decalId);
|
|
Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid packet, bad datablockId(decal): %d", decalId);
|
|
|
|
|
|
- if (getProjectileSound() != StringTable->EmptyString() && !isProjectileSoundValid())
|
|
|
|
|
|
+ if (!isProjectileSoundValid())
|
|
{
|
|
{
|
|
- Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid ProjectileSound asset.");
|
|
|
|
- return false;
|
|
|
|
|
|
+ //return false; -TODO: trigger asset download
|
|
}
|
|
}
|
|
|
|
|
|
if (!lightDesc && lightDescId != 0)
|
|
if (!lightDesc && lightDescId != 0)
|