Goddamn MSVC pow overload ambiguities

master
Perttu Ahola 2012-03-21 22:11:15 +02:00
parent da4f51332f
commit ef0ec31554
1 changed files with 1 additions and 1 deletions

View File

@ -2465,7 +2465,7 @@ void the_game(
initial_color.getInterpolated_quadratic( initial_color.getInterpolated_quadratic(
initial_color, initial_color,
final_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->setOverrideColor(fade_color);
guitext_status->enableOverrideColor(true); guitext_status->enableOverrideColor(true);
} }