[Scummvm-cvs-logs] scummvm master -> 06309f616a35730d89404461d0d5128b2eb1b44c
bluegr
bluegr at gmail.com
Sun Jan 26 14:32:37 CET 2014
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
06309f616a AVALANCE: Fix warning about truncated value (from double to float)
Commit: 06309f616a35730d89404461d0d5128b2eb1b44c
https://github.com/scummvm/scummvm/commit/06309f616a35730d89404461d0d5128b2eb1b44c
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-01-26T05:19:45-08:00
Commit Message:
AVALANCE: Fix warning about truncated value (from double to float)
Changed paths:
engines/avalanche/graphics.cpp
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp
index 82248f5..a8efc4b 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...
More information about the Scummvm-git-logs
mailing list