mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
move green color translation formula one step away from cyan
This commit is contained in:
parent
f1323c8512
commit
62cd1e29a2
@ -197,7 +197,7 @@ byte V_Colorize (byte *playpal, int cr, byte source)
|
||||
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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user