aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-21 22:11:15 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-21 22:11:15 +0200
commitef0ec3155440b770103cc5ad36819659d7ce2c1b (patch)
treec61d7a4b5762693630a8d5986ee195f3b98c55f4
parentda4f51332ffff502d7b7f6976287963959cdb11d (diff)
downloadminetest-ef0ec3155440b770103cc5ad36819659d7ce2c1b.tar.gz
minetest-ef0ec3155440b770103cc5ad36819659d7ce2c1b.tar.bz2
minetest-ef0ec3155440b770103cc5ad36819659d7ce2c1b.zip
Goddamn MSVC pow overload ambiguities
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 0fe296d12..5ed479386 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);
}