diff options
author | Filippos Karapetis | 2014-01-26 15:19:45 +0200 |
---|---|---|
committer | Filippos Karapetis | 2014-01-26 15:19:45 +0200 |
commit | 06309f616a35730d89404461d0d5128b2eb1b44c (patch) | |
tree | 45dcf0de19e6bbad791f621666f947a8f7c5ae92 | |
parent | b6e5865fcebfbacaa401fe3ecb1e1951613263ab (diff) | |
download | scummvm-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.cpp | 2 |
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... |