From 3a8203085b52f2bc4e8c7c3b3863388f5c169ca7 Mon Sep 17 00:00:00 2001 From: Thai Pangsakulyanont Date: Wed, 14 Sep 2011 12:26:01 +0700 Subject: [PATCH] Wrap the autokeysound chain with RageSoundReader_Extend, quite a simple fix, but the song now no longer stops scrolling when there are no more auto keysounds to play, which is what I've been trying to fix for a long time. It's now possible to play BMS which the BGM track is a bit too short that in previous versions, the notes stop scrolling because there's nothing more to play and it's impossible to finish the level. It's also now possible to play BMS file which does not have any autokeysounds at all, and also it's now possible to edit BMS files (but the editor is very un-intuitive, but at least you can now add timing changes to songs loaded from BMS files, such as speed segments and scroll segments [they will be saved as .ssc file by the way]). --- src/AutoKeysounds.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AutoKeysounds.cpp b/src/AutoKeysounds.cpp index 83535b2053..179fd23809 100644 --- a/src/AutoKeysounds.cpp +++ b/src/AutoKeysounds.cpp @@ -271,7 +271,7 @@ void AutoKeysounds::FinishLoading() pChain->AddSound( iIndex, 0.0f, 0 ); } pChain->Finish(); - m_pSharedSound = pChain; + m_pSharedSound = new RageSoundReader_Extend(pChain); } else {