- 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

@ -527,6 +527,10 @@ bool DCanvas::ParseDrawTextureTags (FTexture *img, double x, double y, DWORD tag
case DTA_Translation:
parms->remap = va_arg(tags, FRemapTable *);
if (parms->remap != NULL && parms->remap->Inactive)
{ // If it's inactive, pretend we were passed NULL instead.
parms->remap = NULL;
}
break;
case DTA_ColorOverlay: