diff options
| author | Charlie Blake | 2018-07-26 13:51:06 +0100 |
|---|---|---|
| committer | Charlie Blake | 2018-07-26 13:51:06 +0100 |
| commit | 41311c3cbf7ca3efc9367a5912eebbc065917e4a (patch) | |
| tree | 4ce50373ee60c195e2e78ed1f18c8bf341be6402 /src/main/input-output | |
| parent | Merge pull request #80 from thecharlesblake/fix-timing-bug (diff) | |
| download | metasol-41311c3cbf7ca3efc9367a5912eebbc065917e4a.tar.gz metasol-41311c3cbf7ca3efc9367a5912eebbc065917e4a.zip | |
Fix streamliner bug: was not applied on smart sol
Diffstat (limited to 'src/main/input-output')
| -rw-r--r-- | src/main/input-output/input/command_line_helper.cpp | 1 | ||||
| -rw-r--r-- | src/main/input-output/input/sol_preset_types.cpp | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/src/main/input-output/input/command_line_helper.cpp b/src/main/input-output/input/command_line_helper.cpp index 5a66aa6..365fe3f 100644 --- a/src/main/input-output/input/command_line_helper.cpp +++ b/src/main/input-output/input/command_line_helper.cpp @@ -322,6 +322,7 @@ game_state::streamliner_options command_line_helper::convert_streamliners(stream case command_line_helper::streamliner_opt::SMART: default: assert(false); + throw runtime_error("attempted to convert smart streamliner mode to single streamliner"); return game_state::streamliner_options::NONE;; } } diff --git a/src/main/input-output/input/sol_preset_types.cpp b/src/main/input-output/input/sol_preset_types.cpp index 0aee219..e380225 100644 --- a/src/main/input-output/input/sol_preset_types.cpp +++ b/src/main/input-output/input/sol_preset_types.cpp @@ -1166,6 +1166,23 @@ map<string, string> sol_preset_types::mp = { } )" + }, + { + "forty-theives", + + R"( +{ + "tableau piles": { + "count": 10, + "build policy": "same-suit" + }, + "stock": { + "size": 64 + }, + "two decks": true +} +)" + } }; |
