From: Perttu Ahola Date: Wed, 21 Mar 2012 20:11:15 +0000 (+0200) Subject: Goddamn MSVC pow overload ambiguities X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=ef0ec3155440b770103cc5ad36819659d7ce2c1b;p=zefram%2Fminetest%2Fminetest_engine.git Goddamn MSVC pow overload ambiguities --- diff --git a/src/game.cpp b/src/game.cpp index 0fe296d1..5ed47938 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -2465,7 +2465,7 @@ void the_game( initial_color.getInterpolated_quadratic( initial_color, final_color, - pow(statustext_time / (float)statustext_time_max, 2.0)); + pow(statustext_time / (float)statustext_time_max, 2.0f)); guitext_status->setOverrideColor(fade_color); guitext_status->enableOverrideColor(true); }