summaryrefslogtreecommitdiffhomepage
path: root/editor/update.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'editor/update.cpp')
-rw-r--r--editor/update.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/editor/update.cpp b/editor/update.cpp
index 9384cc17..d5eb2039 100644
--- a/editor/update.cpp
+++ b/editor/update.cpp
@@ -237,10 +237,7 @@ void app::set_cursor()
auto app::get_z_bounds() -> z_bounds
{
- if (_render_all_z_levels)
- return { chunk_z_min, chunk_z_max };
- else
- return { _z_level, _z_level };
+ return { chunk_z_min, chunk_z_max, _z_level, !_render_all_z_levels };
}
void app::update(float dt)