diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes/scene14.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene14.cpp b/engines/fullpipe/scenes/scene14.cpp index b31dc89d31..4a09bc9cb6 100644 --- a/engines/fullpipe/scenes/scene14.cpp +++ b/engines/fullpipe/scenes/scene14.cpp @@ -407,7 +407,7 @@ void sceneHandler14_declineCallback(int *arg) { Common::Point point; if (g_vars->scene14_dudeIsKicking) { - *arg = (int)(sqrt((g_fp->_mouseVirtY - g_vars->scene14_mouseCursorPos.y) + *arg = (int)(sqrt((double)(g_fp->_mouseVirtY - g_vars->scene14_mouseCursorPos.y) * (g_fp->_mouseVirtY - g_vars->scene14_mouseCursorPos.y) + (g_fp->_mouseVirtX - g_vars->scene14_mouseCursorPos.x) * (g_fp->_mouseVirtX - g_vars->scene14_mouseCursorPos.x)) * 0.1); |