diff options
| author | Choupom <andycootlapin@hotmail.fr> | 2011-06-01 20:19:12 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-06-02 17:42:30 +0200 |
| commit | 603071ee92de0859da04a70c7bd5971fca163288 (patch) | |
| tree | 964b093b5404bac324997dfd4278e64d14783097 /src/game/client/components | |
| parent | deff0ce7c4442950580533b47d7145f79bcca9bb (diff) | |
| download | zcatch-603071ee92de0859da04a70c7bd5971fca163288.tar.gz zcatch-603071ee92de0859da04a70c7bd5971fca163288.zip | |
fixed data struct names
Diffstat (limited to 'src/game/client/components')
| -rw-r--r-- | src/game/client/components/sounds.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/sounds.cpp b/src/game/client/components/sounds.cpp index ffafa128..e9902108 100644 --- a/src/game/client/components/sounds.cpp +++ b/src/game/client/components/sounds.cpp @@ -131,7 +131,7 @@ void CSounds::Play(int Chn, int SetId, float Vol, vec2 Pos) if(!g_Config.m_SndEnable || (Chn == CHN_MUSIC && !g_Config.m_SndMusic) || m_WaitForSoundJob || SetId < 0 || SetId >= g_pData->m_NumSounds) return; - SOUNDSET *pSet = &g_pData->m_aSounds[SetId]; + CDataSoundset *pSet = &g_pData->m_aSounds[SetId]; if(!pSet->m_NumSounds) return; @@ -162,7 +162,7 @@ void CSounds::Stop(int SetId) if(m_WaitForSoundJob || SetId < 0 || SetId >= g_pData->m_NumSounds) return; - SOUNDSET *pSet = &g_pData->m_aSounds[SetId]; + CDataSoundset *pSet = &g_pData->m_aSounds[SetId]; for(int i = 0; i < pSet->m_NumSounds; i++) Sound()->Stop(pSet->m_aSounds[i].m_Id); |