comment + cleanup
This commit is contained in:
+2
-3
@@ -14,14 +14,13 @@ void ActorSound::Load( const RString &sPath )
|
||||
|
||||
void ActorSound::Play()
|
||||
{
|
||||
// This fix makes possible to stop and pause actorsounds, also because
|
||||
// sometimes stacking sounds is annoying -DaisuMaster
|
||||
// This fix makes it possible to stop and pause ActorSounds. (Also,
|
||||
// sometimes stacking sounds is annoying.) -DaisuMaster
|
||||
if( m_Sound.IsPlaying() )
|
||||
{
|
||||
m_Sound.PlayCopy();
|
||||
return;
|
||||
}
|
||||
|
||||
m_Sound.StartPlaying();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user