fix clue modifier

This commit is contained in:
Maximilian Keßler 2023-11-20 20:04:53 +01:00
parent 50ddeff59a
commit 934345e076
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -293,7 +293,7 @@ namespace Hanabi
if (vm.count("clue-modifier"))
{
[[maybe_unused]] auto c = vm.count("clue-modifier");
parms.clue_spec = vm["clue-modifier"].as<clue_t>();
parms.clue_spec = static_cast<clue_t>(vm["clue-modifier"].as<int>());
}
if (vm.count("all-clues"))
{