- Setting a Player.ColorRange now completely disables the translation rather than just

making it an identity map.

SVN r2194 (trunk)
This commit is contained in:
Randy Heit 2010-03-06 03:02:24 +00:00
commit 38c9bb1900
4 changed files with 10 additions and 2 deletions

View file

@ -2181,7 +2181,7 @@ ESPSResult R_SetPatchStyle (FRenderStyle style, fixed_t alpha, int translation,
if (translation != 0)
{
FRemapTable *table = TranslationToTable(translation);
if (table != NULL)
if (table != NULL && !table->Inactive)
{
dc_translation = table->Remap;
}