set clue modifier to 0 by default

This commit is contained in:
Maximilian Keßler 2023-11-14 13:13:49 +01:00
parent 812a5dc790
commit 88cfbe21f3
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -20,7 +20,7 @@ namespace Hanabi {
boost::optional<bool> interactive {}; boost::optional<bool> interactive {};
bool quiet { false }; bool quiet { false };
// If this holds std::monostate, then all clue numbers are evaluated // If this holds std::monostate, then all clue numbers are evaluated
std::variant<std::monostate, clue_t> clue_spec; std::variant<std::monostate, clue_t> clue_spec {static_cast<clue_t>(0)};
bool recursive { false }; bool recursive { false };
}; };