From 4d4d69978043c2939036ec1c464a351f1840d538 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 26 Nov 2010 20:17:05 -0800 Subject: Fix step calculations --- Alc/ALu.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'Alc/ALu.c') diff --git a/Alc/ALu.c b/Alc/ALu.c index f22b2a22..7c43b0f3 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -128,8 +128,6 @@ ALvoid CalcNonAttnSourceParams(ALsource *ALSource, const ALCcontext *ALContext) ALSource->Params.Step = Pitch*FRACTIONONE; if(ALSource->Params.Step == 0) ALSource->Params.Step = 1; - else if(ALSource->Params.Step > maxstep) - ALSource->Params.Step = maxstep; } Channels = aluChannelsFromFormat(ALBuffer->format); @@ -608,8 +606,6 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) ALSource->Params.Step = Pitch*FRACTIONONE; if(ALSource->Params.Step == 0) ALSource->Params.Step = 1; - else if(ALSource->Params.Step > maxstep) - ALSource->Params.Step = maxstep; } break; } -- cgit v1.2.3