- fixed handling of single-tile skies with palette translation.

This commit is contained in:
Christoph Oelckers 2021-04-12 16:00:00 +02:00
parent 26d737c279
commit 3cc05e5532

View file

@ -46,7 +46,7 @@ FGameTexture* GetSkyTexture(int basetile, int lognumtiles, const int16_t *tilema
char synthname[60];
if (lognumtiles == 0 || lognumtiles > 4)
if ((lognumtiles == 0 && remap == 0) || lognumtiles > 4)
{
// no special handling - let the old code do its job as-is
return nullptr;