Properly trace the invalid speaker angle
This commit is contained in:
parent
0c2efa1253
commit
505f61ff43
@ -182,7 +182,7 @@ static ALvoid SetSpeakerArrangement(const char *name, ALfloat SpeakerAngle[OUTPU
|
||||
if(val >= -180 && val <= 180)
|
||||
SpeakerAngle[i] = val * M_PI/180.0f;
|
||||
else
|
||||
AL_PRINT("Invalid angle for speaker \"%s\": %d\n", confkey);
|
||||
AL_PRINT("Invalid angle for speaker \"%s\": %d\n", confkey, val);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user