mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-25 14:07:46 +00:00
Lazy hack for windows compiling issue
This commit is contained in:
parent
e691d0504a
commit
35c35f9b02
1 changed files with 4 additions and 2 deletions
|
@ -29,10 +29,12 @@ template
|
|||
<typename T>
|
||||
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
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue