From b01f09e82fd254823a839a8d4f622dc4d35bde6a Mon Sep 17 00:00:00 2001 From: Einar Johan Trøan Sømåen Date: Fri, 31 Aug 2012 17:28:37 +0200 Subject: WINTERMUTE: Use instead of --- engines/wintermute/math/math_util.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/wintermute/math/math_util.cpp') diff --git a/engines/wintermute/math/math_util.cpp b/engines/wintermute/math/math_util.cpp index 4a308a914e..434e0e016b 100644 --- a/engines/wintermute/math/math_util.cpp +++ b/engines/wintermute/math/math_util.cpp @@ -27,14 +27,14 @@ */ #include "engines/wintermute/math/math_util.h" -#include +#include namespace Wintermute { ////////////////////////////////////////////////////////////////////////// float MathUtil::round(float val) { float result = floor(val); - if (val - result >= 0.5) { + if (val - result >= 0.5f) { result += 1.0; } return result; -- cgit v1.2.3