Skip to content

Commit

Permalink
Merge pull request #1103 from fabiangreffrath/greenercyan
Browse files Browse the repository at this point in the history
Move green color translation formula one step away from cyan
  • Loading branch information
JNechaevsky authored Oct 16, 2023
2 parents e69e50c + 8061795 commit 99416f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v_trans.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ byte V_Colorize (byte *playpal, int cr, byte source, boolean keepgray109)
if (cr == CR_GREEN)
{
// hsv.x = 135./360.;
hsv.x = (145. * hsv.z + 120. * (1. - hsv.z))/360.;
hsv.x = (144. * hsv.z + 120. * (1. - hsv.z))/360.;
}
else
if (cr == CR_GOLD)
Expand Down

0 comments on commit 99416f4

Please sign in to comment.