From 5e7d645052bc1ea07fc9b7b511aae741ef8f3792 Mon Sep 17 00:00:00 2001 From: Louis Moureaux Date: Sun, 24 Mar 2024 03:50:31 +0100 Subject: [PATCH] Fix drawing darkness sprites Used e.g. in hexemplio. --- client/tileset/layer_darkness.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/tileset/layer_darkness.cpp b/client/tileset/layer_darkness.cpp index 90fe3f8a79..cec94cc13e 100644 --- a/client/tileset/layer_darkness.cpp +++ b/client/tileset/layer_darkness.cpp @@ -41,7 +41,7 @@ layer_darkness::fill_sprite_array(const tile *ptile, const tile_edge *pedge, } // Don't draw darkness when the solid background is used - if (!solid_background(ptile, punit, tile_city(ptile))) { + if (solid_background(ptile, punit, tile_city(ptile))) { return {}; }