From 4cc85f4c99939e301ff3d1eb690be7475ac131f0 Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Mon, 27 Jan 2014 02:43:11 +0000 Subject: 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. --- src/i_sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/i_sound.c b/src/i_sound.c index 5106cf97..f12c8204 100644 --- a/src/i_sound.c +++ b/src/i_sound.c @@ -271,7 +271,7 @@ void I_UpdateSound(void) } } -static void CheckVolumeSeparation(int *sep, int *vol) +static void CheckVolumeSeparation(int *vol, int *sep) { if (*sep < 0) { -- cgit v1.2.3