aboutsummaryrefslogtreecommitdiff
path: root/src/main/input-output/input/command_line_helper.cpp
diff options
context:
space:
mode:
authorCharlie Blake2018-07-26 14:51:27 +0100
committerGitHub2018-07-26 14:51:27 +0100
commit1789639cc1e9690d7546075109f6c8a9ddf2a147 (patch)
tree4ce50373ee60c195e2e78ed1f18c8bf341be6402 /src/main/input-output/input/command_line_helper.cpp
parentMerge pull request #80 from thecharlesblake/fix-timing-bug (diff)
parentFix streamliner bug: was not applied on smart sol (diff)
downloadmetasol-1789639cc1e9690d7546075109f6c8a9ddf2a147.tar.gz
metasol-1789639cc1e9690d7546075109f6c8a9ddf2a147.zip

Merge pull request #81 from thecharlesblake/streamliner-fixup

Fix streamliner bug: was not applied on smart sol

Diffstat (limited to 'src/main/input-output/input/command_line_helper.cpp')
-rw-r--r--src/main/input-output/input/command_line_helper.cpp1
1 files changed, 1 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;;
}
}