diff options
author | Simon Howard | 2010-01-14 18:47:03 +0000 |
---|---|---|
committer | Simon Howard | 2010-01-14 18:47:03 +0000 |
commit | df6a794052bc5c5f28ca15eca7d924ae29002d85 (patch) | |
tree | 6a9076ece4e730b85c15f1bfe43d714b21adfbad | |
parent | 009c7a7dd68f00239889a2dd7d6ca41e6817f1f6 (diff) | |
download | chocolate-doom-df6a794052bc5c5f28ca15eca7d924ae29002d85.tar.gz chocolate-doom-df6a794052bc5c5f28ca15eca7d924ae29002d85.tar.bz2 chocolate-doom-df6a794052bc5c5f28ca15eca7d924ae29002d85.zip |
In Chex Quest, use the radiation suit colormap instead of the red
colormaps that are usually used when taking damage (or using the berserk
pack). This matches the Vanilla chex.exe behavior (thanks Fuzztooth).
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1812
-rw-r--r-- | src/st_stuff.c | 11 |
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; |