We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99b848f commit 74bcad5Copy full SHA for 74bcad5
src/Features/Tas/TasTools/SetAngleTool.cpp
@@ -55,6 +55,11 @@ std::shared_ptr<TasToolParams> SetAngleTool::ParseParams(std::vector<std::string
55
AngleToolsUtils::EasingType easingType;
56
int i = 2;
57
58
+ if (vp[0] == "off") {
59
+ if (vp.size() != 1) throw TasParserArgumentCountException(this, vp.size());
60
+ return std::make_shared<SetAngleParams>();
61
+ }
62
+
63
if (vp[0] == "ahead") {
64
if (vp.size() > 3) throw TasParserArgumentCountException(this, vp.size());
65
target = vp[0];
0 commit comments