mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
fix out of bound initializations
This commit is contained in:
parent
45f45ca974
commit
1f93e362cc
1 changed files with 4 additions and 4 deletions
|
|
@ -368,10 +368,10 @@ public:
|
||||||
flDecayLFRatio = 0.0f;
|
flDecayLFRatio = 0.0f;
|
||||||
flReflectionsGain = 0.0f;
|
flReflectionsGain = 0.0f;
|
||||||
flReflectionsDelay = 0.0f;
|
flReflectionsDelay = 0.0f;
|
||||||
flReflectionsPan[3] = 0.0f;
|
dMemset(flReflectionsPan, 0, sizeof(flReflectionsPan));
|
||||||
flLateReverbGain = 0.0f;
|
flLateReverbGain = 0.0f;
|
||||||
flLateReverbDelay = 0.0f;
|
flLateReverbDelay = 0.0f;
|
||||||
flLateReverbPan[3] = 0.0f;
|
dMemset(flLateReverbPan, 0, sizeof(flLateReverbPan));
|
||||||
flEchoTime = 0.0f;
|
flEchoTime = 0.0f;
|
||||||
flEchoDepth = 0.0f;
|
flEchoDepth = 0.0f;
|
||||||
flModulationTime = 0.0f;
|
flModulationTime = 0.0f;
|
||||||
|
|
@ -472,10 +472,10 @@ public:
|
||||||
flDecayLFRatio = 0.0f;
|
flDecayLFRatio = 0.0f;
|
||||||
flReflectionsGain = 0.0f;
|
flReflectionsGain = 0.0f;
|
||||||
flReflectionsDelay = 0.0f;
|
flReflectionsDelay = 0.0f;
|
||||||
flReflectionsPan[3] = 0.0f;
|
dMemset(flReflectionsPan, 0, sizeof(flReflectionsPan));
|
||||||
flLateReverbGain = 0.0f;
|
flLateReverbGain = 0.0f;
|
||||||
flLateReverbDelay = 0.0f;
|
flLateReverbDelay = 0.0f;
|
||||||
flLateReverbPan[3] = 0.0f;
|
dMemset(flLateReverbPan, 0, sizeof(flLateReverbPan));
|
||||||
flEchoTime = 0.0f;
|
flEchoTime = 0.0f;
|
||||||
flEchoDepth = 0.0f;
|
flEchoDepth = 0.0f;
|
||||||
flModulationTime = 0.0f;
|
flModulationTime = 0.0f;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue