play copy of so that the Cancel sound continues playing after the transition and sample have been torn down

This commit is contained in:
Chris Danford
2005-03-21 03:41:06 +00:00
parent a23db65a1e
commit 1bff5bb755
3 changed files with 23 additions and 9 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ void Transition::Update( float fDeltaTime )
/* Start the transition on the first update, not in the ctor, so
* we don't play a sound while our parent is still loading. */
if( m_bFirstUpdate )
m_sound.PlayRandom();
m_sound.PlayCopyOfRandom();
// Check this before running Update, so we draw the last frame of the finished
// transition before sending m_MessageToSendWhenDone.