From 0eebc28ab6f3f503689240e502c4dd74b1765048 Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Sat, 26 Feb 2005 12:54:35 +0000 Subject: [PATCH] fix "try to add NULL child" --- stepmania/src/MeterDisplay.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stepmania/src/MeterDisplay.cpp b/stepmania/src/MeterDisplay.cpp index 0785558cd2..312f9ee9cd 100644 --- a/stepmania/src/MeterDisplay.cpp +++ b/stepmania/src/MeterDisplay.cpp @@ -20,11 +20,10 @@ void MeterDisplay::Load( CString sStreamPath, float fStreamWidth, CString sTipPa m_sprStream.Load( sStreamPath ); m_sprStream.SetZoomX( fStreamWidth / m_sprStream.GetUnzoomedWidth() ); - this->AddChild( &m_sprStream ); - this->AddChild( m_sprTip ); m_sprTip.Load( sTipPath ); + this->AddChild( m_sprTip ); SetPercent( 0.5f ); }