Fix RCS1089

This commit is contained in:
RoosterDragon
2023-03-18 12:50:55 +00:00
committed by Gustas
parent 4dd787be13
commit eb287d9b8d
17 changed files with 26 additions and 23 deletions

View File

@@ -154,7 +154,7 @@ namespace OpenRA.Primitives
// Wrap negative values into [0-1)
if (h < 0)
h += 1;
h++;
var s = delta / rgbMax;
return (h, s, v);