Fix for Issue #172 for Turret Crash on Dedicated Server

The Cheetah's turret fire sound datablock happened to be named the same
as the player's turret weapon's datablock.  This caused the sound
profile's description to be NULL on the dedicated server.
This commit is contained in:
DavidWyand-GG 2012-12-13 16:46:05 -05:00
parent 6f56dcf846
commit 63b8c275a5

View file

@ -55,7 +55,7 @@ datablock SFXProfile(DirtKickup)
fileName = "art/sound/cheetah/softImpact.ogg";
};
datablock SFXProfile(TurretFireSound)
datablock SFXProfile(CheetahTurretFireSound)
{
filename = "art/sound/cheetah/turret_firing.wav";
description = BulletFireDesc;
@ -220,7 +220,7 @@ datablock ShapeBaseImageData(TurretImage)
stateSequence[3] = "Fire";
stateSequenceRandomFlash[3] = true; // use muzzle flash sequence
stateScript[3] = "onFire";
stateSound[3] = TurretFireSound;
stateSound[3] = CheetahTurretFireSound;
stateEmitter[3] = TurretFireSmokeEmitter;
stateEmitterTime[3] = 0.025;