projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da4f513
)
Goddamn MSVC pow overload ambiguities
author
Perttu Ahola
<celeron55@gmail.com>
Wed, 21 Mar 2012 20:11:15 +0000
(22:11 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Wed, 21 Mar 2012 20:11:15 +0000
(22:11 +0200)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 0fe296d122ed7da5dbb089bcbef4283138ee9a20..5ed479386d199bc75d9fb342e39cda45861093af 100644
(file)
--- 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.0
f
));
guitext_status->setOverrideColor(fade_color);
guitext_status->enableOverrideColor(true);
}