aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v90he.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/script_v90he.cpp')
-rw-r--r--scumm/script_v90he.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/script_v90he.cpp b/scumm/script_v90he.cpp
index 99aa154c7d..e232cc9ea5 100644
--- a/scumm/script_v90he.cpp
+++ b/scumm/script_v90he.cpp
@@ -411,12 +411,12 @@ void ScummEngine_v90he::o90_getGT() {
}
void ScummEngine_v90he::o90_sin() {
- double a = pop() * M_PI / 180.;
+ double a = pop() * PI / 180.;
push((int)(sin(a) * 100000));
}
void ScummEngine_v90he::o90_cos() {
- double a = pop() * M_PI / 180.;
+ double a = pop() * PI / 180.;
push((int)(cos(a) * 100000));
}