From 41311c3cbf7ca3efc9367a5912eebbc065917e4a Mon Sep 17 00:00:00 2001 From: Charlie Blake Date: Thu, 26 Jul 2018 13:51:06 +0100 Subject: Fix streamliner bug: was not applied on smart sol --- src/main/input-output/input/command_line_helper.cpp | 1 + src/main/input-output/input/sol_preset_types.cpp | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) (limited to 'src/main/input-output') 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 @@ -1164,6 +1164,23 @@ map sol_preset_types::mp = { "build policies": ["same-suit", "same-rank"] } } +)" + + }, + { + "forty-theives", + + R"( +{ + "tableau piles": { + "count": 10, + "build policy": "same-suit" + }, + "stock": { + "size": 64 + }, + "two decks": true +} )" } -- cgit v1.2.1