From ce69fcffdfe3b2c5a77cd40eb4aff7cf2710c0f6 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 27 Oct 2005 19:25:31 +0000 Subject: [PATCH] cleanup --- stepmania/src/Background.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/Background.cpp b/stepmania/src/Background.cpp index d53382d618..7907b1100e 100644 --- a/stepmania/src/Background.cpp +++ b/stepmania/src/Background.cpp @@ -618,7 +618,7 @@ void BackgroundImpl::LoadFromSong( const Song* pSong ) if( mainlayer.m_aBGChanges.empty() || mainlayer.m_aBGChanges.front().m_fStartBeat >= 0 ) { BackgroundChange change; - (BackgroundDef&)change = STATIC_BACKGROUND_DEF; + change.m_def = STATIC_BACKGROUND_DEF; change.m_fStartBeat = -10000; mainlayer.m_aBGChanges.insert( mainlayer.m_aBGChanges.begin(), change ); }