|
@@ -320,9 +320,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);
|
|
|
|
|
|
- String errorStr;
|
|
|
|
- if( !sfxResolve( &sound, errorStr ) )
|
|
|
|
- Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid packet: %s", errorStr.c_str());
|
|
|
|
|
|
+ String sfxErrorStr;
|
|
|
|
+ if( !sfxResolve( &sound, sfxErrorStr ) )
|
|
|
|
+ Con::errorf(ConsoleLogEntry::General, "ProjectileData::preload: Invalid packet: %s", sfxErrorStr.c_str());
|
|
|
|
|
|
if (!lightDesc && lightDescId != 0)
|
|
if (!lightDesc && lightDescId != 0)
|
|
if (Sim::findObject(lightDescId, lightDesc) == false)
|
|
if (Sim::findObject(lightDescId, lightDesc) == false)
|