aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/motion.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2013-09-11 17:57:18 +0300
committerFilippos Karapetis2013-09-11 17:57:18 +0300
commite1845735689df7e66d27bd88a746b164fdadf661 (patch)
tree201cfbf3e71e7a5d3af0f9654a1fedccb9331bee /engines/fullpipe/motion.cpp
parent794811c28093e229379e94f6c745dcfe8c5449d4 (diff)
downloadscummvm-rg350-e1845735689df7e66d27bd88a746b164fdadf661.tar.gz
scummvm-rg350-e1845735689df7e66d27bd88a746b164fdadf661.tar.bz2
scummvm-rg350-e1845735689df7e66d27bd88a746b164fdadf661.zip
FULLPIPE: Fix compilation with MSVC and add a FIXME
Diffstat (limited to 'engines/fullpipe/motion.cpp')
-rw-r--r--engines/fullpipe/motion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/motion.cpp b/engines/fullpipe/motion.cpp
index 41265dcd8a..514dde5185 100644
--- a/engines/fullpipe/motion.cpp
+++ b/engines/fullpipe/motion.cpp
@@ -204,7 +204,7 @@ void CReactParallel::createRegion() {
for (int i = 0; i < 4; i++)
_points[i] = new Common::Point;
- double at = atan2(_x1 - _x2, _y1 - _y2) + 1.570796;
+ double at = atan2((double)(_x1 - _x2), (double)(_y1 - _y2)) + 1.570796;
double sn = sin(at);
double cs = cos(at);