summaryrefslogtreecommitdiffhomepage
path: root/src/tile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile.cpp')
-rw-r--r--src/tile.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tile.cpp b/src/tile.cpp
index 5f003258..56ac5746 100644
--- a/src/tile.cpp
+++ b/src/tile.cpp
@@ -80,10 +80,11 @@ bool operator==(const tile_ref& a, const tile_ref& b) noexcept
if (a._chunk == b._chunk && a.i == b.i)
return true;
else
- return a.ground() == b.ground() &&
- a.wall_north() == b.wall_north() &&
- a.wall_west() == b.wall_west() &&
- a.pass_mode() == b.pass_mode();
+ return a.ground() == b.ground() &&
+ a.wall_north() == b.wall_north() &&
+ a.wall_west() == b.wall_west() &&
+ a.scenery() == b.scenery() &&
+ a.pass_mode() == b.pass_mode();
}
} // namespace floormat