|
@@ -296,7 +296,11 @@ bool LightningData::preload(bool server, String &errorStr)
|
|
|
{
|
|
|
for (S32 i = 0; i < MaxThunders; i++)
|
|
|
{
|
|
|
+<<<<<<< HEAD
|
|
|
if (getThunderSound(i) != StringTable->EmptyString())
|
|
|
+=======
|
|
|
+ if (isThunderSoundValid(i))
|
|
|
+>>>>>>> 2630b4ada6a97222ad1e200fa962cf426b7d4161
|
|
|
{
|
|
|
_setThunderSound(getThunderSound(i), i);
|
|
|
Con::printf("Thunder sound: %d %s", i, getThunderSound(i));
|
|
@@ -308,6 +312,7 @@ bool LightningData::preload(bool server, String &errorStr)
|
|
|
|
|
|
}
|
|
|
|
|
|
+<<<<<<< HEAD
|
|
|
if (getStrikeSound() != StringTable->EmptyString())
|
|
|
{
|
|
|
_setStrikeSound(getStrikeSound());
|
|
@@ -315,6 +320,10 @@ bool LightningData::preload(bool server, String &errorStr)
|
|
|
if(!getStrikeSoundProfile())
|
|
|
Con::errorf(ConsoleLogEntry::General, "LightningData::preload: can't get sfxProfile from strike sound.");
|
|
|
}
|
|
|
+=======
|
|
|
+ if(isStrikeSoundValid() && !getStrikeSoundProfile())
|
|
|
+ Con::errorf(ConsoleLogEntry::General, "LightningData::preload: can't get sfxProfile from asset");
|
|
|
+>>>>>>> 2630b4ada6a97222ad1e200fa962cf426b7d4161
|
|
|
|
|
|
mNumStrikeTextures = 0;
|
|
|
for (U32 k = 0; k < MaxTextures; k++)
|