Skip to content

Commit

Permalink
bug: no dirt on bridges
Browse files Browse the repository at this point in the history
  • Loading branch information
goblinhack committed Jun 16, 2023
1 parent 8519e96 commit a23fc3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/level_biome_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ void Level::place_objects_with_normal_placement_rules(Dungeonp d)
//
// Make sure we have a floor under a portal for example
//
if (! is_chasm(x, y) && ! is_floor(x, y) && ! is_dirt(x, y) && ! is_corridor(x, y)) {
if (! is_bridge(x, y) && ! is_chasm(x, y) && ! is_floor(x, y) && ! is_dirt(x, y) && ! is_corridor(x, y)) {
if (biome == BIOME_CHASMS) {
//
// The void.
Expand Down

0 comments on commit a23fc3d

Please sign in to comment.