aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2014-01-26 15:19:45 +0200
committerFilippos Karapetis2014-01-26 15:19:45 +0200
commit06309f616a35730d89404461d0d5128b2eb1b44c (patch)
tree45dcf0de19e6bbad791f621666f947a8f7c5ae92
parentb6e5865fcebfbacaa401fe3ecb1e1951613263ab (diff)
downloadscummvm-rg350-06309f616a35730d89404461d0d5128b2eb1b44c.tar.gz
scummvm-rg350-06309f616a35730d89404461d0d5128b2eb1b44c.tar.bz2
scummvm-rg350-06309f616a35730d89404461d0d5128b2eb1b44c.zip
AVALANCE: Fix warning about truncated value (from double to float)
-rw-r--r--engines/avalanche/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 82248f5087..a8efc4be9b 100644
--- a/engines/avalanche/graphics.cpp
+++ b/engines/avalanche/graphics.cpp
@@ -198,7 +198,7 @@ void GraphicManager::drawToolbar() {
Common::Point GraphicManager::drawArc(Graphics::Surface &surface, int16 x, int16 y, int16 stAngle, int16 endAngle, uint16 radius, Color color) {
Common::Point endPoint;
- const float convfac = M_PI / 180.0;
+ const double convfac = M_PI / 180.0;
int32 xRadius = radius;
int32 yRadius = radius * kScreenWidth / (8 * kScreenHeight); // Just don't ask why...