aboutsummaryrefslogtreecommitdiff
path: root/scumm/logic_he.cpp
diff options
context:
space:
mode:
authorAndrew Kurushin2005-05-21 13:21:56 +0000
committerAndrew Kurushin2005-05-21 13:21:56 +0000
commit7beb36ec72c8604e6d7269171b3bb02d33ec2bca (patch)
treeee9adcb40b603d0d011081e17852c8e0656f9607 /scumm/logic_he.cpp
parent89c1463d2b0b97d1c06ec9e0850ae2f72fc24604 (diff)
downloadscummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.tar.gz
scummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.tar.bz2
scummvm-rg350-7beb36ec72c8604e6d7269171b3bb02d33ec2bca.zip
fixed MS VC warn
svn-id: r18205
Diffstat (limited to 'scumm/logic_he.cpp')
-rw-r--r--scumm/logic_he.cpp2
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;
}