From 8061795579774079c2b7b1ff749eb82e34d9e613 Mon Sep 17 00:00:00 2001 From: Julia Nechaevskaya Date: Mon, 16 Oct 2023 20:56:31 +0300 Subject: [PATCH] Move green color translation formula one step away from cyan --- src/v_trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v_trans.c b/src/v_trans.c index 3bf15a1aec..38a5175aaa 100644 --- a/src/v_trans.c +++ b/src/v_trans.c @@ -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)