X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FAudio%2FSounds.cpp;h=01f00dbe6d5f60f78f436cf3a66a3cea19e6226a;hb=0aab437dc560d2afa982e61cc2547756ad7b0761;hp=a259864ccbd2fc1809c6fa4f8bb7c7f12a146a16;hpb=8b6e8f3ad7390309795eb35c0959264cb7924402;p=lugaru.git diff --git a/Source/Audio/Sounds.cpp b/Source/Audio/Sounds.cpp index a259864..01f00db 100644 --- a/Source/Audio/Sounds.cpp +++ b/Source/Audio/Sounds.cpp @@ -1,5 +1,5 @@ /* -Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file) +Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file) This file is part of Lugaru. @@ -70,8 +70,9 @@ void loadAllSounds() footstepsound4 = footstepst2; // Huh? // OPENAL_Sample_SetMode(samp[whooshsound], OPENAL_LOOP_NORMAL); - for (int i = stream_firesound; i <= stream_menutheme; i++) + for (int i = stream_firesound; i <= stream_menutheme; i++) { OPENAL_Stream_SetMode(samp[i], OPENAL_LOOP_NORMAL); + } } void addEnvSound(XYZ coords, float vol, float life)