mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- 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:
parent
3df3d6d052
commit
5a0009cbab
2 changed files with 3 additions and 1 deletions
|
@ -1,4 +1,6 @@
|
||||||
December 26, 2007 (Changes by Graf Zahl)
|
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.
|
- 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
|
- Moved the common code of ACS and DECORATE translation generation into the
|
||||||
FRemapTable class.
|
FRemapTable class.
|
||||||
|
|
|
@ -1449,7 +1449,7 @@ FSpecialFont::FSpecialFont (const char *name, int first, int count, int *lumplis
|
||||||
for (j = ActiveColors; j < TotalColors; ++j)
|
for (j = ActiveColors; j < TotalColors; ++j)
|
||||||
{
|
{
|
||||||
remap->Remap[j] = identity[j];
|
remap->Remap[j] = identity[j];
|
||||||
remap->Palette[j] = GPalette.BaseColors[j];
|
remap->Palette[j] = GPalette.BaseColors[identity[j]];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue