mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
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:
parent
6f56dcf846
commit
63b8c275a5
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue