mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +00:00
- allow palette emulation for indexed hightiles.
This commit is contained in:
parent
3e76f71f02
commit
d77e143ee8
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue