From 3cc05e55320c7789190b6c9b2ce62ac228b61e56 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Mon, 12 Apr 2021 16:00:00 +0200 Subject: [PATCH] - fixed handling of single-tile skies with palette translation. --- source/core/textures/skytexture.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/core/textures/skytexture.cpp b/source/core/textures/skytexture.cpp index f9e178b77..1004353a0 100644 --- a/source/core/textures/skytexture.cpp +++ b/source/core/textures/skytexture.cpp @@ -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;