use GetChoiceInRowWithFocus instead of m_iChoiceInRowWithFocus directly

This commit is contained in:
Glenn Maynard
2006-01-19 07:47:31 +00:00
parent 4e7e062d4e
commit 235e9d622b
+1 -1
View File
@@ -490,7 +490,7 @@ void OptionRow::PositionUnderlines( PlayerNumber pn )
{ {
OptionsCursor& ul = *vpUnderlines[i]; OptionsCursor& ul = *vpUnderlines[i];
int iChoiceWithFocus = (m_pHand->m_Def.m_layoutType == LAYOUT_SHOW_ONE_IN_ROW) ? m_iChoiceInRowWithFocus[pnTakeSelectedFrom] : i; int iChoiceWithFocus = (m_pHand->m_Def.m_layoutType == LAYOUT_SHOW_ONE_IN_ROW) ? GetChoiceInRowWithFocus(pn) : i;
/* Don't tween X movement and color changes. */ /* Don't tween X movement and color changes. */
int iWidth, iX, iY; int iWidth, iX, iY;