From 4ce233c2f8397c9792c3668b49e670a9dccdef95 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 6 May 2015 10:56:50 +0200 Subject: set the command line after the alias convertion. To prevent cheating --- diceparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'diceparser.cpp') diff --git a/diceparser.cpp b/diceparser.cpp index 5108a10..1046ade 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -151,12 +151,12 @@ bool DiceParser::parseLine(QString str) delete m_start; m_start = NULL; } - m_command = str; m_start = new StartingNode(); ExecutionNode* newNode = NULL; m_current = m_start; str = convertAlias(str); + m_command = str; bool keepParsing = readExpression(str,newNode); if(keepParsing) -- cgit v1.2.3-70-g09d2