[openjk] 04/15: fix #915 broken boss music
Simon McVittie
smcv at debian.org
Thu Jun 15 10:28:40 UTC 2017
This is an automated email from the git hooks/post-receive script.
smcv pushed a commit to branch debian/master
in repository openjk.
commit 0710c572317ffeaf27991d0d29aa1f73ff3ab4ae
Author: Willi Schinmeyer <willi at schinmeyer.de>
Date: Tue May 9 21:10:32 2017 +0200
fix #915 broken boss music
---
code/client/snd_music.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/code/client/snd_music.cpp b/code/client/snd_music.cpp
index dcd10a6..8c8eec9 100644
--- a/code/client/snd_music.cpp
+++ b/code/client/snd_music.cpp
@@ -516,7 +516,7 @@ static qboolean Music_ParseLeveldata( gsl::czstring psLevelName )
else
{
const CGPProperty *pValueBoss = pgLevelMusicOfBoss->FindProperty( sKEY_BOSS );
- if( pValueBoss )
+ if( !pValueBoss )
{
Music_Parse_Error( filename, build_string( "'useboss' \"", psName_UseBoss, "\" has no \"boss\" entry!\n" ) );
bReturn = qfalse;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/openjk.git
More information about the Pkg-games-commits
mailing list