Skip to content

Commit

Permalink
Fix drawing darkness sprites
Browse files Browse the repository at this point in the history
Used e.g. in hexemplio.
  • Loading branch information
lmoureaux authored and jwrober committed Mar 26, 2024
1 parent d53bae7 commit 8316edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/tileset/layer_darkness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {};
}

Expand Down

0 comments on commit 8316edf

Please sign in to comment.