From b401f80bfee94b214bae2ca072fab2de45ad9687 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 1 Sep 2005 06:37:56 +0000 Subject: [PATCH] PlayCopyOfSound --- stepmania/src/ActorSound.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ActorSound.cpp b/stepmania/src/ActorSound.cpp index 490422f877..9338e45c9e 100644 --- a/stepmania/src/ActorSound.cpp +++ b/stepmania/src/ActorSound.cpp @@ -3,6 +3,7 @@ #include "ActorUtil.h" #include "LuaManager.h" #include "XmlFile.h" +#include "RageSoundManager.h" REGISTER_ACTOR_CLASS_WITH_NAME( ActorSound, Sound ) @@ -13,7 +14,7 @@ void ActorSound::Load( const CString &sPath ) void ActorSound::Play() { - m_Sound.Play(); + SOUNDMAN->PlayCopyOfSound( m_Sound ); } void ActorSound::LoadFromNode( const CString& sDir, const XNode* pNode )