From f96c1296d1acc64b295aab8d171bc379e71e7d88 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 30 Jan 2006 08:08:04 +0000 Subject: [PATCH] simplify --- stepmania/src/OptionRow.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/stepmania/src/OptionRow.cpp b/stepmania/src/OptionRow.cpp index ce4243a35b..a890ebbd50 100644 --- a/stepmania/src/OptionRow.cpp +++ b/stepmania/src/OptionRow.cpp @@ -747,12 +747,7 @@ void OptionRow::GetWidthXY( PlayerNumber pn, int iChoiceOnRow, int &iWidthOut, i iWidthOut = int(roundf( text.GetZoomedWidth() )); iXOut = int(roundf( text.GetDestX() )); - /* We update m_FrameDestination, change colors and tween items, and then tween rows to - * their final positions. (This is so we don't tween colors, too.) m_FrameDestination - * is the actual destination position, even though we may not have set up the - * tween yet. */ - float fY = m_tsDestination.pos.y; - iYOut = int(roundf(fY)); + iYOut = int( roundf(m_Frame.GetDestY()) ); }