diff options
author | Andrew Kurushin | 2005-05-21 13:21:56 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-05-21 13:21:56 +0000 |
commit | 7beb36ec72c8604e6d7269171b3bb02d33ec2bca (patch) | |
tree | ee9adcb40b603d0d011081e17852c8e0656f9607 /scumm | |
parent | 89c1463d2b0b97d1c06ec9e0850ae2f72fc24604 (diff) | |
download | scummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.tar.gz scummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.tar.bz2 scummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.zip |
fixed MS VC warn
svn-id: r18205
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/logic_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/logic_he.cpp b/scumm/logic_he.cpp index fe40560e43..db1a88ec85 100644 --- a/scumm/logic_he.cpp +++ b/scumm/logic_he.cpp @@ -153,7 +153,7 @@ int32 LogicHErace::dispatch(int op, int numArgs, int32 *args) { int32 LogicHErace::op_1003(int32 *args) { int value = args[2] ? args[2] : 1; - writeScummVar(108, (int32)(atan2(args[0], args[1]) * RAD2DEG * value)); + writeScummVar(108, (int32)(atan2((double)args[0], (double)args[1]) * RAD2DEG * value)); return 1; } |