- allow palette emulation for indexed hightiles.

This commit is contained in:
Mitchell Richters 2021-07-17 07:38:58 +10:00
parent 3e76f71f02
commit d77e143ee8

View file

@ -357,7 +357,11 @@ bool PickTexture(FGameTexture* tex, int paletteid, TexturePick& pick, bool wanti
{
tex = rep->image;
}
if (!rep || !rep->indexed)
if (rep && rep->indexed && TextureType == TT_INDEXED)
{
pick.translation |= 0x80000000;
}
else if (!rep || !rep->indexed)
{
if (usepalette > 0)
{