aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaweł Kołodziejski2006-02-16 12:04:12 +0000
committerPaweł Kołodziejski2006-02-16 12:04:12 +0000
commit6b557fabd5403355b2fe0dacacaf216b45281a7d (patch)
treeb254a816f23a5146615c006516c5f80c399ff512 /engines
parent4694e98649d5b149e7b439b5e6411e36538a355d (diff)
downloadscummvm-rg350-6b557fabd5403355b2fe0dacacaf216b45281a7d.tar.gz
scummvm-rg350-6b557fabd5403355b2fe0dacacaf216b45281a7d.tar.bz2
scummvm-rg350-6b557fabd5403355b2fe0dacacaf216b45281a7d.zip
force arg variable to float type, msvc8 can't select from float or double
svn-id: r20725
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/he/logic_he.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp
index eb9e4edf07..ef98e87ea9 100644
--- a/engines/scumm/he/logic_he.cpp
+++ b/engines/scumm/he/logic_he.cpp
@@ -809,7 +809,7 @@ int32 LogicHEsoccer::dispatch(int op, int numArgs, int32 *args) {
}
int LogicHEsoccer::op_1001(int32 *args) {
- return args[0] * sin(args[1]);
+ return args[0] * sin((float)args[1]);
}
int LogicHEsoccer::op_1002(int32 *args) {