diff options
-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 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) { |