From fc8e87366f07c24ff74d72fb38bc01ecb419a377 Mon Sep 17 00:00:00 2001 From: Anselme Date: Thu, 10 Mar 2016 13:34:04 +0100 Subject: [PATCH] fixed clue --- app/fourasmodule.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/fourasmodule.cpp b/app/fourasmodule.cpp index d839238..ff143cd 100644 --- a/app/fourasmodule.cpp +++ b/app/fourasmodule.cpp @@ -65,10 +65,14 @@ bool FourasModule::messageHandler(Message msg) else ++nbClues; if(nbClues > str.size()) - break; + { + answer = say(QString("%1 - Perdu ! La réponse était : %2").arg(current).arg(str)); + current = -1; + return true; + } } ++nbClues; - answer = say(QString("Indice : ").append(str)); + answer = say(QString("Indice : ").append(finalString)); return true; } }