From 815d77a74e98743f12c2e5df5899e3bfb1f5ed35 Mon Sep 17 00:00:00 2001 From: Rasmus Anthin Date: Tue, 1 Oct 2024 21:22:27 +0200 Subject: [PATCH] Clouds.h: * More windows warning fixes. --- Pilot_Episode/Clouds.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }