summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/st_stuff.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/st_stuff.c b/src/st_stuff.c
index c3226f1b..d48609b4 100644
--- a/src/st_stuff.c
+++ b/src/st_stuff.c
@@ -974,6 +974,17 @@ void ST_doPaletteStuff(void)
else
palette = 0;
+ // In Chex Quest, the player never sees red. Instead, the
+ // radiation suit palette is used to tint the screen green,
+ // as though the player is being covered in goo by an
+ // attacking flemoid.
+
+ if (gameversion == exe_chex
+ && palette >= STARTREDPALS && palette < STARTREDPALS + NUMREDPALS)
+ {
+ palette = RADIATIONPAL;
+ }
+
if (palette != st_palette)
{
st_palette = palette;