diff options
author | Paweł Kołodziejski | 2006-02-16 12:04:12 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-02-16 12:04:12 +0000 |
commit | 6b557fabd5403355b2fe0dacacaf216b45281a7d (patch) | |
tree | b254a816f23a5146615c006516c5f80c399ff512 /engines | |
parent | 4694e98649d5b149e7b439b5e6411e36538a355d (diff) | |
download | scummvm-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.cpp | 2 |
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) { |