From 3aabd48dfbe65d014ea780e4e5c3124608814d9e Mon Sep 17 00:00:00 2001 From: Kevin Slaughter Date: Tue, 18 Feb 2003 09:19:38 +0000 Subject: [PATCH] Fixed variable error in SongManager.cpp that was not allowing a clean compile (renamed var I to J, is all). Also fixed error that Judgement.* & HoldJudgement.* were not included..are now --- stepmania/src/ScreenPlayerOptions.cpp | 6 +++--- stepmania/src/StepMania.dsp | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/stepmania/src/ScreenPlayerOptions.cpp b/stepmania/src/ScreenPlayerOptions.cpp index 9105d32e6f..93f9b6279c 100644 --- a/stepmania/src/ScreenPlayerOptions.cpp +++ b/stepmania/src/ScreenPlayerOptions.cpp @@ -117,11 +117,11 @@ void ScreenPlayerOptions::ImportOptions() // highlight currently selected skin m_iSelectedOption[p][PO_NOTE_SKIN] = -1; - for( unsigned i=0; iGetCurNoteSkinName((PlayerNumber)p)) ) + if( 0==stricmp(m_OptionRowData[PO_NOTE_SKIN].szOptionsText[j], NOTESKIN->GetCurNoteSkinName((PlayerNumber)p)) ) { - m_iSelectedOption[p][PO_NOTE_SKIN] = i; + m_iSelectedOption[p][PO_NOTE_SKIN] = j; break; } } diff --git a/stepmania/src/StepMania.dsp b/stepmania/src/StepMania.dsp index d8992397d7..91a2ba7204 100644 --- a/stepmania/src/StepMania.dsp +++ b/stepmania/src/StepMania.dsp @@ -57,10 +57,10 @@ LINK32=link.exe # SUBTRACT LINK32 /verbose /pdb:none # Begin Special Build Tool IntDir=.\../Release6 -TargetDir=\stepmania\stepmania +TargetDir=\stepmania TargetName=StepMania SOURCE="$(InputPath)" -PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\ +PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\ PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi # End Special Build Tool @@ -92,10 +92,10 @@ LINK32=link.exe # SUBTRACT LINK32 /verbose /profile /pdb:none /incremental:no /nodefaultlib # Begin Special Build Tool IntDir=.\../Debug6 -TargetDir=\stepmania\stepmania +TargetDir=\stepmania TargetName=StepMania-debug SOURCE="$(InputPath)" -PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\ +PreLink_Cmds=disasm\verinc cl /Zl /nologo /c verstub.cpp /Fo$(IntDir)\ PostBuild_Cmds=disasm\mapconv $(IntDir)\$(TargetName).map $(TargetDir)\StepMania.vdi ia32.vdi # End Special Build Tool