ref: 4cc85f4c99939e301ff3d1eb690be7475ac131f0
parent: 29e7b9d813046415ca385b8fcea4c39249f9e78e
author: Simon Howard <[email protected]>
date: Sun Jan 26 21:43:11 EST 2014
sound: Fix swapped parameters for function. CheckVolumeSeparation() has the sep and vol parameters backwards compared to how they are used when the function is called. Reverse the order to fix this (thanks proteal). Fixes #330.
--- a/src/i_sound.c
+++ b/src/i_sound.c
@@ -271,7 +271,7 @@
}
}
-static void CheckVolumeSeparation(int *sep, int *vol)
+static void CheckVolumeSeparation(int *vol, int *sep)
{
if (*sep < 0)
{