summaryrefslogtreecommitdiffstats
path: root/kgeography/src/boxasker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kgeography/src/boxasker.cpp')
-rw-r--r--kgeography/src/boxasker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kgeography/src/boxasker.cpp b/kgeography/src/boxasker.cpp
index 5774ba10..d263e1f0 100644
--- a/kgeography/src/boxasker.cpp
+++ b/kgeography/src/boxasker.cpp
@@ -80,7 +80,7 @@ void boxAsker::nextQuestionHook(const TQString &division)
{
// false because boxaskers never are clickOnDivision
otherDivision = p_map -> getRandomDivision(false);
- while (auxList.tqfind(otherDivision) != auxList.end()) otherDivision = p_map -> getRandomDivision(false);
+ while (auxList.find(otherDivision) != auxList.end()) otherDivision = p_map -> getRandomDivision(false);
if (i == p_position) i++;
if (i < 4 && nextBoxAskerQuestionHook(otherDivision, i, false)) i++;
auxList << otherDivision;