From 466f42594971d42b557d6a59d805f593cace20a2 Mon Sep 17 00:00:00 2001 From: driAn Date: Thu, 30 Oct 2008 21:05:08 +0000 Subject: [PATCH] fix flagsound not fading out when being tk'ed git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@3344 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/src/clientgame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 1a82b212..a1c7d227 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -816,7 +816,7 @@ void flagmsg(int flag, int message, int actor, int flagtime) case FM_RESET: playsound(S_FLAGRETURN, SP_HIGHEST); hudoutf("the server reset the flag"); - if(firstperson) musicfadeout(M_FLAGGRAB); + if(firstperson || own) musicfadeout(M_FLAGGRAB); break; } }