Skip to content

Commit

Permalink
Don't let a RageSound not pause when it shouldn't
Browse files Browse the repository at this point in the history
bad wording on purpose
basically there isnt a reason to not have ragesound do this as far as i can tell, and not doing this caused some weird issues when i was doing something else (sound would not play, but would still read so nothing would happen but time would move forward and it got really weird dont ask)
  • Loading branch information
poco0317 committed Oct 4, 2019
1 parent 0781f2f commit 6539851
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/RageUtil/Sound/RageSound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -442,8 +442,7 @@ RageSound::StartPlaying(float fGiven, bool forcedTime)
ASSERT(!m_Mutex.IsLockedByThisThread());

SOUNDMAN->StartMixing(this);
if (m_bPaused)
Pause(true);
Pause(m_bPaused);

// LOG->Trace("StartPlaying %p finished (%s)", this,
// this->GetLoadedFilePath().c_str());
Expand Down

0 comments on commit 6539851

Please sign in to comment.