From 2276639c107e8043b84f02bb93b3bb8a339bd78a Mon Sep 17 00:00:00 2001 From: Rasmus Anthin <32767250+razterizer@users.noreply.github.com> Date: Thu, 3 Oct 2024 17:49:45 +0200 Subject: [PATCH] Update DungGine.h Adding _i postfix to fix a windows warning. --- DungGine.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DungGine.h b/DungGine.h index 70db3e6..772824e 100644 --- a/DungGine.h +++ b/DungGine.h @@ -801,7 +801,7 @@ namespace dung bool place_weapons(int num_weapons, bool only_place_on_dry_land) { const auto world_size = m_environment->get_world_size(); - const int c_max_num_iters = 1e5; + const int c_max_num_iters = 1e5_i; int num_iters = 0; bool valid_pos = false; for (int wpn_idx = 0; wpn_idx < num_weapons; ++wpn_idx)