This is an automated email from the git hooks/post-receive script. smcv pushed a commit to annotated tag 1.42d in repository iortcw.
commit 14fbe5ca7de20b3861c8f684d4903ceeaae48bee Author: Donny <[email protected]> Date: Mon Aug 3 04:43:43 2015 -0400 All: Only unlock AL source if needed and print developer message --- MP/code/client/snd_openal.c | 7 ++++--- SP/code/client/snd_openal.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/MP/code/client/snd_openal.c b/MP/code/client/snd_openal.c index 37b33d4..f159954 100644 --- a/MP/code/client/snd_openal.c +++ b/MP/code/client/snd_openal.c @@ -771,10 +771,11 @@ void S_AL_SrcShutdown( void ) { curSource = &srcList[i]; - srcList[i].isLocked = qfalse; - if(curSource->isLocked) - Com_DPrintf( S_COLOR_YELLOW "WARNING: Source %d is locked\n", i); + { + srcList[i].isLocked = qfalse; + Com_DPrintf( S_COLOR_YELLOW "WARNING: Source %d was locked\n", i); + } if(curSource->entity > 0) entityList[curSource->entity].srcAllocated = qfalse; diff --git a/SP/code/client/snd_openal.c b/SP/code/client/snd_openal.c index 65455f6..04112a6 100644 --- a/SP/code/client/snd_openal.c +++ b/SP/code/client/snd_openal.c @@ -772,10 +772,11 @@ void S_AL_SrcShutdown( void ) { curSource = &srcList[i]; - srcList[i].isLocked = qfalse; - if(curSource->isLocked) - Com_DPrintf( S_COLOR_YELLOW "WARNING: Source %d is locked\n", i); + { + srcList[i].isLocked = qfalse; + Com_DPrintf( S_COLOR_YELLOW "WARNING: Source %d was locked\n", i); + } if(curSource->entity > 0) entityList[curSource->entity].srcAllocated = qfalse; -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

