From 130bee1b1eee1c393f5baaad97094a155a19b844 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Feb 2006 20:41:13 +0000 Subject: Fixing compiler (cast) warning svn-id: r20799 --- engines/scumm/he/logic_he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/scumm/he/logic_he.cpp b/engines/scumm/he/logic_he.cpp index ef98e87ea9..be607375e8 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((float)args[1]); + return (int)(args[0] * sin((float)args[1])); } int LogicHEsoccer::op_1002(int32 *args) { -- cgit v1.2.3