about summary refs log tree commit diff
path: root/src/game/client/components/sounds.cpp
diff options
context:
space:
mode:
authoroy <tom_adams@web.de>2011-08-13 09:20:40 -0700
committeroy <tom_adams@web.de>2011-08-13 09:20:40 -0700
commit3fba3ee13e93bc6f0086e282668a8ab579ba07da (patch)
treec17c0042e9865ea0d6c0476ee7ef930b4dbcab35 /src/game/client/components/sounds.cpp
parentc56cfa12d511559b096579d4e7a80b7cb6bbb6fe (diff)
parentc6fd4a2cc57f8d9dec7164aff98f5a73abc9698d (diff)
downloadzcatch-3fba3ee13e93bc6f0086e282668a8ab579ba07da.tar.gz
zcatch-3fba3ee13e93bc6f0086e282668a8ab579ba07da.zip
Merge pull request #832 from GreYFoX/oypull1
Cleanup
Diffstat (limited to 'src/game/client/components/sounds.cpp')
-rw-r--r--src/game/client/components/sounds.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/components/sounds.cpp b/src/game/client/components/sounds.cpp
index c4ade00e..65fb56fb 100644
--- a/src/game/client/components/sounds.cpp
+++ b/src/game/client/components/sounds.cpp
@@ -144,7 +144,7 @@ void CSounds::Play(int Chn, int SetId, float Vol, vec2 Pos)
 
 	if(!pSet->m_NumSounds)
 		return;
-	
+
 	int Flags = 0;
 	if(Chn == CHN_MUSIC)
 		Flags = ISound::FLAG_LOOP;
@@ -170,9 +170,9 @@ void CSounds::Stop(int SetId)
 {
 	if(m_WaitForSoundJob || SetId < 0 || SetId >= g_pData->m_NumSounds)
 		return;
-	
+
 	CDataSoundset *pSet = &g_pData->m_aSounds[SetId];
-	
+
 	for(int i = 0; i < pSet->m_NumSounds; i++)
 		Sound()->Stop(pSet->m_aSounds[i].m_Id);
 }