summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-scenery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk-scenery.cpp')
-rw-r--r--src/chunk-scenery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-scenery.cpp b/src/chunk-scenery.cpp
index c5b77241..7b4905dd 100644
--- a/src/chunk-scenery.cpp
+++ b/src/chunk-scenery.cpp
@@ -119,7 +119,7 @@ auto chunk::make_topo_sort_data(object& e, uint32_t mesh_idx) -> topo_sort_data
data.slope = (bb_max[1]-bb_min[1])/bb_len;
data.bb_min = Vector2s(bb_min - px_start);
data.bb_max = Vector2s(bb_max - px_start);
- if (sc.sc_type != scenery_type::door)
+ if (sc.scenery_type() != scenery_type::door)
data.mode = topo_sort_data::mode_static;
}
break;