- Fixed: The FSpecialFont constructor copied the untranslated colors directly

from the source palette instead of the font's identity map.


SVN r646 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-26 21:37:00 +00:00
parent 3df3d6d052
commit 5a0009cbab
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,6 @@
December 26, 2007 (Changes by Graf Zahl)
- Fixed: The FSpecialFont constructor copied the untranslated colors directly
from the source palette instead of the font's identity map.
- Split off the entire translation code from r_draw.cpp into r_translate.cpp.
- Moved the common code of ACS and DECORATE translation generation into the
FRemapTable class.

View file

@ -1449,7 +1449,7 @@ FSpecialFont::FSpecialFont (const char *name, int first, int count, int *lumplis
for (j = ActiveColors; j < TotalColors; ++j)
{
remap->Remap[j] = identity[j];
remap->Palette[j] = GPalette.BaseColors[j];
remap->Palette[j] = GPalette.BaseColors[identity[j]];
}
}
}