diff options
| author | Filippos Karapetis | 2013-09-11 17:57:18 +0300 | 
|---|---|---|
| committer | Filippos Karapetis | 2013-09-11 17:57:18 +0300 | 
| commit | e1845735689df7e66d27bd88a746b164fdadf661 (patch) | |
| tree | 201cfbf3e71e7a5d3af0f9654a1fedccb9331bee /engines/fullpipe/motion.cpp | |
| parent | 794811c28093e229379e94f6c745dcfe8c5449d4 (diff) | |
| download | scummvm-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.cpp | 2 | 
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); | 
