Skip to content

Commit

Permalink
Fixes rendering level -10 (#2083)
Browse files Browse the repository at this point in the history
  • Loading branch information
joveeater authored Oct 19, 2022
1 parent dfd80b2 commit 9c41bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cata_tiles.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ void cata_tiles::draw( const point &dest, const tripoint &center, int width, int
}

lit_level ll = lit_level::BLANK;
for( int z = center.z; z > -OVERMAP_DEPTH; z-- ) {
for( int z = center.z; z >= -OVERMAP_DEPTH; z-- ) {
const auto &ch = here.access_cache( z );

const tripoint pos( temp_x, temp_y, z );
Expand Down

0 comments on commit 9c41bbf

Please sign in to comment.