From 35c35f9b025a274c60a152a3e2d5ee6bf5e09b0f Mon Sep 17 00:00:00 2001 From: Mordred Admin Date: Tue, 8 Aug 2017 14:25:04 +0200 Subject: [PATCH] Lazy hack for windows compiling issue --- src/servers/Server_Common/UtilMath.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/servers/Server_Common/UtilMath.h b/src/servers/Server_Common/UtilMath.h index 326c54e6..f864e24a 100644 --- a/src/servers/Server_Common/UtilMath.h +++ b/src/servers/Server_Common/UtilMath.h @@ -29,10 +29,12 @@ template T clamp( T val, T minimum, T maximum ) { - return std::max( std::min( val, maximum ), minimum ); + // TODO: Lazy hack, do this properly... + return maximum; +// return std::max( std::min( val, maximum ), minimum ); } } } } -#endif \ No newline at end of file +#endif