From d77e143ee88581c823b68a854ca0db976e7f8030 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 17 Jul 2021 07:38:58 +1000 Subject: [PATCH] - allow palette emulation for indexed hightiles. --- source/core/textures/hightile.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/source/core/textures/hightile.cpp b/source/core/textures/hightile.cpp index 2f7405b9d..65d4161ce 100644 --- a/source/core/textures/hightile.cpp +++ b/source/core/textures/hightile.cpp @@ -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) {