aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authormd52011-03-19 02:32:19 +0200
committermd52011-03-19 02:32:19 +0200
commitbe3ca5216881ae01a9a3db7794fb7c685b29fd65 (patch)
tree475e6ece85029497f80166acf617b1a9e0f009c7 /engines
parenta6aacc73e2dc00b6cdeaa5ec08e07b9b285b2fb6 (diff)
downloadscummvm-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.cpp2
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 &center, 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);