diff options
| author | 2018-08-27 01:03:25 +0200 | |
|---|---|---|
| committer | 2018-08-27 01:03:25 +0200 | |
| commit | f238c80409b345482d4a292084b3813dcdbbb37f (patch) | |
| tree | 6305ee53bae0bcfffe89cea0a6aa31ee4c929856 /cli | |
| parent | 64e9988ba715e6e196b84e4a69c871c761562bbd (diff) | |
| download | OneRoll-f238c80409b345482d4a292084b3813dcdbbb37f.tar.gz OneRoll-f238c80409b345482d4a292084b3813dcdbbb37f.zip | |
-Fix alias in cli client.
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/main.cpp b/cli/main.cpp index acc59ba..198c85c 100644 --- a/cli/main.cpp +++ b/cli/main.cpp @@ -206,7 +206,7 @@ int startDiceParsing(QStringList& cmds,QString& treeFile,bool withColor, EXPORTF DiceParser parser; parser.insertAlias(new DiceAlias("L5R5R",QStringLiteral("L[-,⨀,⨀⬢,❂⬢,❁,❁⬢]")),0); parser.insertAlias(new DiceAlias("L5R5S",QStringLiteral("L[-,-,⨀,⨀,⨀❁,⨀⬢,⨀⬢,❂,❂⬢,❁,❁,❁]")),1); - int i = 0; + int i = 2; for(auto alias : array) { auto objAlias = alias.toObject(); @@ -215,7 +215,6 @@ int startDiceParsing(QStringList& cmds,QString& treeFile,bool withColor, EXPORTF parser.insertAlias(dice,i++); } - int rt=0; for(QString cmd : cmds) { |