diff options
| author | Charlie Blake | 2018-08-04 17:36:04 +0100 |
|---|---|---|
| committer | GitHub | 2018-08-04 17:36:04 +0100 |
| commit | 0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7 (patch) | |
| tree | 11fd908f6b081e685776281bee48329066cbe565 /src/main/game/search-state/game_state.dominance_moves.cpp | |
| parent | Merge pull request #81 from thecharlesblake/streamliner-fixup (diff) | |
| parent | Add two-deck presets & edit mv order to make work (diff) | |
| download | metasol-0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7.tar.gz metasol-0b8d7ba8384c6bd91162a09e3eee0d5fe97bc2b7.zip | |
Merge pull request #82 from thecharlesblake/two-deck-testing
Add two-deck presets & edit mv order to make work
Diffstat (limited to 'src/main/game/search-state/game_state.dominance_moves.cpp')
| -rw-r--r-- | src/main/game/search-state/game_state.dominance_moves.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/game/search-state/game_state.dominance_moves.cpp b/src/main/game/search-state/game_state.dominance_moves.cpp index b7e6e15..bc20cb5 100644 --- a/src/main/game/search-state/game_state.dominance_moves.cpp +++ b/src/main/game/search-state/game_state.dominance_moves.cpp @@ -15,7 +15,7 @@ using std::max; using boost::optional; bool game_state::is_valid_auto_foundation_move(pile::ref target_pile) const { - if (rules.foundations_only_comp_piles) + if (rules.foundations_only_comp_piles || rules.two_decks) return false; else if ( stream_opts == sos::AUTO_FOUNDATIONS || stream_opts == sos::BOTH |
