aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/wiz_he.cpp
diff options
context:
space:
mode:
authormd52011-03-19 02:33:09 +0200
committermd52011-03-19 02:33:09 +0200
commitd602a420b622ce77c4a7e3782a4e7cad3a09e480 (patch)
treedbcb12d8f56872c23b9687a5a3af9db01290b120 /engines/scumm/he/wiz_he.cpp
parent8af0d35a5ff17e8e4f52401a0758cf6f04e0e17a (diff)
downloadscummvm-rg350-d602a420b622ce77c4a7e3782a4e7cad3a09e480.tar.gz
scummvm-rg350-d602a420b622ce77c4a7e3782a4e7cad3a09e480.tar.bz2
scummvm-rg350-d602a420b622ce77c4a7e3782a4e7cad3a09e480.zip
SCUMM: Changed usage of PI to M_PI (normally defined in math.h)
Diffstat (limited to 'engines/scumm/he/wiz_he.cpp')
-rw-r--r--engines/scumm/he/wiz_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/wiz_he.cpp b/engines/scumm/he/wiz_he.cpp
index c7e6a56083..3d1aa5b048 100644
--- a/engines/scumm/he/wiz_he.cpp
+++ b/engines/scumm/he/wiz_he.cpp
@@ -111,7 +111,7 @@ void Wiz::polygonStore(int id, bool flag, int vert1x, int vert1y, int vert2x, in
}
void Wiz::polygonRotatePoints(Common::Point *pts, int num, int angle) {
- double alpha = angle * PI / 180.;
+ double alpha = angle * M_PI / 180.;
double cos_alpha = cos(alpha);
double sin_alpha = sin(alpha);