removed all C-style casts
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user