diff options
author | md5 | 2011-03-19 02:32:19 +0200 |
---|---|---|
committer | md5 | 2011-03-19 02:32:19 +0200 |
commit | be3ca5216881ae01a9a3db7794fb7c685b29fd65 (patch) | |
tree | 475e6ece85029497f80166acf617b1a9e0f009c7 /engines | |
parent | a6aacc73e2dc00b6cdeaa5ec08e07b9b285b2fb6 (diff) | |
download | scummvm-rg350-be3ca5216881ae01a9a3db7794fb7c685b29fd65.tar.gz scummvm-rg350-be3ca5216881ae01a9a3db7794fb7c685b29fd65.tar.bz2 scummvm-rg350-be3ca5216881ae01a9a3db7794fb7c685b29fd65.zip |
MOHAWK: Changed usage of PI to M_PI (normally defined in math.h)
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/myst_stacks/myst.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/myst_stacks/myst.cpp b/engines/mohawk/myst_stacks/myst.cpp index caadf09f56..5d070322ca 100644 --- a/engines/mohawk/myst_stacks/myst.cpp +++ b/engines/mohawk/myst_stacks/myst.cpp @@ -3133,7 +3133,7 @@ Common::Point Myst::towerRotationMapComputeCoords(const Common::Point ¢er, u Common::Point end; // Polar to rect coords - double radians = angle * PI / 180.0; + double radians = angle * M_PI / 180.0; end.x = (int16)(center.x + cos(radians) * 310.0); end.y = (int16)(center.y + sin(radians) * 310.0); |