- merged FPalette and PaletteContainer.
This commit is contained in:
parent
f94e4a908c
commit
ac610d87e5
28 changed files with 162 additions and 181 deletions
|
|
@ -110,7 +110,7 @@ void hw_PrecacheTexture(uint8_t *texhitlist, TMap<PClassActor*, bool> &actorhitl
|
|||
while (it.NextPair(pair))
|
||||
{
|
||||
PClassActor *cls = pair->Key;
|
||||
auto remap = palMgr.TranslationToTable(GetDefaultByType(cls)->Translation);
|
||||
auto remap = GPalette.TranslationToTable(GetDefaultByType(cls)->Translation);
|
||||
int gltrans = remap == nullptr ? 0 : remap->Index;
|
||||
|
||||
for (unsigned i = 0; i < cls->GetStateCount(); i++)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue