Remove CSoundGroupMgr, since it is unnecessary and broken and leaks memory

This was SVN commit r7442.
This commit is contained in:
Ykkrosh
2010-04-06 15:17:06 +00:00
parent 27556f4b21
commit c02771fef2
6 changed files with 6 additions and 248 deletions
+2 -2
View File
@@ -34,7 +34,7 @@
#include "LOSManager.h"
#include "graphics/Terrain.h"
#include "Stance.h"
#include "sound/SoundGroupMgr.h"
//#include "sound/SoundGroupMgr.h"
#include "ps/Game.h"
#include "ps/World.h"
@@ -511,7 +511,7 @@ bool CEntity::ProcessContactActionNoPathing( CEntityOrder* current, int timestep
if( ( m_fsm_cyclepos <= action->m_Speed ) && ( nextpos > action->m_Speed ) )
{
const size_t soundGroupIndex = m_base->m_SoundGroupTable[animation];
g_soundGroupMgr->PlayNext(soundGroupIndex, m_position);
// g_soundGroupMgr->PlayNext(soundGroupIndex, m_position);
if(!DispatchEvent( &contactEvent ))
{