mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-31 12:30:40 +00:00
Attempt to fix #787
This commit is contained in:
parent
14141766c1
commit
4cdb0c3c55
1 changed files with 3 additions and 3 deletions
|
@ -377,7 +377,7 @@ void StartSwirlies()
|
||||||
nNextFreq = 19000;
|
nNextFreq = 19000;
|
||||||
nSwirlyFrames = 0;
|
nSwirlyFrames = 0;
|
||||||
|
|
||||||
for (int i = 0; i <= 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
StartSwirly(i);
|
StartSwirly(i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -390,7 +390,7 @@ void StartSwirlies()
|
||||||
void UpdateSwirlies()
|
void UpdateSwirlies()
|
||||||
{
|
{
|
||||||
nSwirlyFrames++;
|
nSwirlyFrames++;
|
||||||
for (int i = 0; i <= 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
{
|
{
|
||||||
if (!soundEngine->IsSourcePlayingSomething(SOURCE_Swirly, &swirlysources[i], -1))
|
if (!soundEngine->IsSourcePlayingSomething(SOURCE_Swirly, &swirlysources[i], -1))
|
||||||
StartSwirly(i);
|
StartSwirly(i);
|
||||||
|
@ -463,7 +463,7 @@ void EXSoundEngine::CalcPosVel(int type, const void* source, const float pt[3],
|
||||||
{
|
{
|
||||||
int which = *(int*)source;
|
int which = *(int*)source;
|
||||||
*pos = fcampos;
|
*pos = fcampos;
|
||||||
// Should be positioned in 90¡ intervals.
|
// Should be positioned in 90° intervals.
|
||||||
switch (which)
|
switch (which)
|
||||||
{
|
{
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue