From 776d539a2509dbf1d7d0fb9a3f92c579aff8e4ea Mon Sep 17 00:00:00 2001 From: Chris Danford Date: Thu, 21 Apr 2005 18:46:11 +0000 Subject: [PATCH] fix double-add warning when showing 2+ pages --- stepmania/src/ScreenRanking.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ScreenRanking.cpp b/stepmania/src/ScreenRanking.cpp index 0cd3d7c255..243809543a 100644 --- a/stepmania/src/ScreenRanking.cpp +++ b/stepmania/src/ScreenRanking.cpp @@ -626,6 +626,7 @@ float ScreenRanking::SetPage( PageToShow pts ) m_ListScoreRowItems.Reset(); SET_XY_AND_ON_COMMAND( m_ListScoreRowItems ); + m_ListScoreRowItems.RemoveAllChildren(); for( unsigned i=0; i vpActors; + m_ListScoreRowItems.RemoveAllChildren(); for( unsigned i=0; i