diff --git a/Pilot_Episode/Clouds.h b/Pilot_Episode/Clouds.h index 0e8a1cb..57246ac 100644 --- a/Pilot_Episode/Clouds.h +++ b/Pilot_Episode/Clouds.h @@ -270,7 +270,7 @@ void draw_clouds_fg(SpriteHandler& sh, { return std::get<2>(rch); }); - float num_chars_tot = plane_hull.size(); + auto num_chars_tot = static_cast(plane_hull.size()); plane_hiding = num_chars_hidden / num_chars_tot > 0.8f; }