work around odd compiler problem

This commit is contained in:
Glenn Maynard
2004-06-19 23:04:10 +00:00
parent 48408e4da5
commit ec3268c86c
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -27,7 +27,8 @@ void GhostArrowRow::Load( PlayerNumber pn, CString NoteSkin, float fYReverseOffs
// init arrows
for( int c=0; c<m_iNumCols; c++ )
{
CString Button = g_NoteFieldMode[m_PlayerNumber].GhostButtonNames[c];
NoteFieldMode &mode = g_NoteFieldMode[pn];
CString Button = mode.GhostButtonNames[c];
if(Button == "")
Button = NoteSkinManager::ColToButtonName(c);