From c8b99cb35f770e82b4209a1ccd3ccc1b80253222 Mon Sep 17 00:00:00 2001
From: Allanis <allanis@saracraft.net>
Date: Mon, 8 Jul 2013 22:11:21 +0100
Subject: [PATCH] [Change] Increased AL_GAIN somewhat.

---
 src/sound.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/sound.c b/src/sound.c
index 127fe0a..99c425f 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -119,7 +119,7 @@ static void voice_rm(alVoice* prev, alVoice* voice);
 static void voice_parseFlags(alVoice* voice, const unsigned int flags);
 
 int sound_init(void) {
-  int mem, ret = 0;
+  int mem, ret;
   ALenum err;
 
   ret = 0;
@@ -132,6 +132,7 @@ int sound_init(void) {
   alutInitWithoutContext(NULL, NULL);
 
   const ALchar* device = alcGetString(NULL, ALC_DEFAULT_DEVICE_SPECIFIER);
+
   /* Open the default device. */
   al_device = alcOpenDevice(NULL);
   if(al_device == NULL) {
@@ -159,7 +160,7 @@ int sound_init(void) {
   }
 
   /* Set the master gain. */
-  alListenerf(AL_GAIN, .1);
+  alListenerf(AL_GAIN, 1.);
 
   /* Set the distance model. */
   alDistanceModel(AL_INVERSE_DISTANCE_CLAMPED);