OSDN Git Service

#none rev200の出し直し。whileをforに直しているところでミスってました。すみません。
authoryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Thu, 9 Jun 2011 16:41:51 +0000 (16:41 +0000)
committeryyagi <yyagi@16f42ceb-6dc6-49c8-ba94-f2d53467949d>
Thu, 9 Jun 2011 16:41:51 +0000 (16:41 +0000)
git-svn-id: http://svn.osdn.jp/svnroot/dtxmania/trunk@203 16f42ceb-6dc6-49c8-ba94-f2d53467949d

DTXManiaプロジェクト/コード/ステージ/07.演奏/CStage演奏画面共通.cs

index 98eabd9..7fa8e14 100644 (file)
@@ -1139,7 +1139,7 @@ namespace DTXMania
                        }\r
                        int nIndex_NearestChip_Future = nIndex_InitialPositionSearchingToFuture;\r
 //                     while ( nIndex_NearestChip_Future < count )     // 未来方向への検索\r
-                       for ( ; nIndex_InitialPositionSearchingToFuture < count; nIndex_InitialPositionSearchingToFuture++ )\r
+                       for ( ; nIndex_NearestChip_Future < count; nIndex_NearestChip_Future++ )\r
                        {\r
                                CDTX.CChip chip = CDTXMania.DTX.listChip[ nIndex_NearestChip_Future ];\r
                                if ( ( !chip.bHit && ( nChannel >= 0x11 ) ) && ( nChannel <= 0x1a ) )\r
@@ -1173,7 +1173,7 @@ namespace DTXMania
                        }\r
                        int nIndex_NearestChip_Past = nIndex_InitialPositionSearchingToPast;\r
 //                     while ( nIndex_NearestChip_Past >= 0 )          // 過去方向への検索\r
-                       for ( ; nIndex_InitialPositionSearchingToPast >= 0; nIndex_InitialPositionSearchingToPast-- )\r
+                       for ( ; nIndex_NearestChip_Past >= 0; nIndex_NearestChip_Past-- )\r
                        {\r
                                CDTX.CChip chip = CDTXMania.DTX.listChip[ nIndex_NearestChip_Past ];\r
                                if ( ( ( ( !chip.bHit && ( nChannel >= 0x11 ) ) && ( ( nChannel <= 0x1a ) && ( ( chip.nチャンネル番号 == nChannel ) || ( chip.nチャンネル番号 == ( nChannel + 0x20 ) ) ) ) ) || ( !chip.bHit && ( ( ( nChannel == 0x2f ) && ( chip.e楽器パート == E楽器パート.GUITAR ) ) || ( ( ( nChannel >= 0x20 ) && ( nChannel <= 0x2A ) ) && ( chip.nチャンネル番号 == nChannel ) ) ) ) ) || ( !chip.bHit && ( ( ( nChannel == 0xaf ) && ( chip.e楽器パート == E楽器パート.BASS ) ) || ( ( ( nChannel >= 0xA0 ) && ( nChannel <= 0xa8 ) ) && ( chip.nチャンネル番号 == nChannel ) ) ) ) )\r