Commit 7ef40c73 authored by Mathias Goldau's avatar Mathias Goldau

[FIX] Missing include for std::max, and portability braces around it

parent c51cd506
......@@ -155,7 +155,7 @@ WColor wge::createColorFromHSV( int h, float s, float v )
WColor wge::getNthHSVColor( int n, int parts )
{
parts = std::max( 1, parts );
parts = (std::max)( 1, parts );
if ( parts > 360 )
{
parts = 360;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment