mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-28 23:13:09 +00:00
add support for positional sound and "omnipresent" interface sounds
snd_mgr: remove support for sound cones (will not be used); only set VSrc rolloff factor if relative flag is set main: hack: flip listener up vector to 'fix' L/R flip (cause is unknown, coord systems appear to be correct) This was SVN commit r6092.
This commit is contained in:
@@ -439,7 +439,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);
|
||||
g_soundGroupMgr->PlayNext(soundGroupIndex, m_position);
|
||||
|
||||
if(!DispatchEvent( contactEvent ))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user