Fixed an issue with overlapping SFXes.
The `BASS_ChannelStop()` line existed in 2.4.10, but disappeared in 2.6. This fixes #50 .
This commit is contained in:
		
							parent
							
								
									ce350da473
								
							
						
					
					
						commit
						6f1bce5882
					
				@ -9,6 +9,8 @@ AOSfxPlayer::AOSfxPlayer(QWidget *parent, AOApplication *p_ao_app)
 | 
			
		||||
 | 
			
		||||
void AOSfxPlayer::play(QString p_sfx, QString p_char, QString shout)
 | 
			
		||||
{
 | 
			
		||||
  BASS_ChannelStop(m_stream);
 | 
			
		||||
  
 | 
			
		||||
  QString misc_path = "";
 | 
			
		||||
  QString char_path = "";
 | 
			
		||||
  QString sound_path = ao_app->get_sounds_path(p_sfx);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user