removed all C-style casts

This commit is contained in:
2024-07-18 17:56:00 -04:00
parent 8f00e903e8
commit 1a9c04ad5a
36 changed files with 212 additions and 92 deletions

View File

@ -25,9 +25,10 @@ game_status CC3K::run() {
if (tmp != -1) {
curr_menu.reset();
curr_game = std::make_unique<game>((race)tmp,
enabled_features,
in, out, rng);
curr_game =
std::make_unique<game>(static_cast<race>(tmp),
enabled_features,
in, out, rng);
out->clear();
curr_game->print();
out->render();