Attempt to fix #787

This commit is contained in:
Kevin Caccamo 2022-12-13 06:13:08 -05:00 committed by Christoph Oelckers
parent 14141766c1
commit 4cdb0c3c55

View file

@ -377,7 +377,7 @@ void StartSwirlies()
nNextFreq = 19000;
nSwirlyFrames = 0;
for (int i = 0; i <= 4; i++)
for (int i = 0; i < 4; i++)
StartSwirly(i);
}
@ -390,7 +390,7 @@ void StartSwirlies()
void UpdateSwirlies()
{
nSwirlyFrames++;
for (int i = 0; i <= 4; i++)
for (int i = 0; i < 4; i++)
{
if (!soundEngine->IsSourcePlayingSomething(SOURCE_Swirly, &swirlysources[i], -1))
StartSwirly(i);
@ -463,7 +463,7 @@ void EXSoundEngine::CalcPosVel(int type, const void* source, const float pt[3],
{
int which = *(int*)source;
*pos = fcampos;
// Should be positioned in 90¡ intervals.
// Should be positioned in 90° intervals.
switch (which)
{
default: