diff options
Diffstat (limited to 'lingo.cpp')
-rw-r--r-- | lingo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lingo.cpp b/lingo.cpp index c5e34f6..3391c30 100644 --- a/lingo.cpp +++ b/lingo.cpp | |||
@@ -513,7 +513,7 @@ private: | |||
513 | std::optional<Colour>& colour = parts[i]; | 513 | std::optional<Colour>& colour = parts[i]; |
514 | if (colour.has_value()) { | 514 | if (colour.has_value()) { |
515 | verbly::filter questionFilter = makeHintFilter(solution, height, *colour, kTowardQuestion); | 515 | verbly::filter questionFilter = makeHintFilter(solution, height, *colour, kTowardQuestion); |
516 | verbly::form questionPart = database_->forms(questionFilter && cleanFilter).first(); | 516 | verbly::form questionPart = database_->forms(questionFilter && cleanFilter && wordFilter).first(); |
517 | msg_stream << COLOUR_EMOTES[*colour] << " " << questionPart.getText() << std::endl; | 517 | msg_stream << COLOUR_EMOTES[*colour] << " " << questionPart.getText() << std::endl; |
518 | 518 | ||
519 | admissible &= makeHintFilter(questionPart, height, *colour, kTowardSolution); | 519 | admissible &= makeHintFilter(questionPart, height, *colour, kTowardSolution); |