fix DoSwitchAnyways

This commit is contained in:
AJ Kelly
2010-12-21 13:25:59 -06:00
parent a1dde32aa8
commit 43dd10b1f6
+1 -1
View File
@@ -392,7 +392,7 @@ try_again:
return false; // went full circle and none found
seen.insert( iSwitchToIndex );
if( !m_aGameCommands[iSwitchToIndex].IsPlayable() )
if( !m_aGameCommands[iSwitchToIndex].IsPlayable() && !DO_SWITCH_ANYWAYS )
goto try_again;
return ChangeSelection( pn, dir, iSwitchToIndex );