mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-14 15:53:38 +00:00
Remove CSoundGroupMgr, since it is unnecessary and broken and leaks memory
This was SVN commit r7442.
This commit is contained in:
@@ -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 ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user