summaryrefslogtreecommitdiffhomepage
path: root/src/chunk-render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chunk-render.cpp')
-rw-r--r--src/chunk-render.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chunk-render.cpp b/src/chunk-render.cpp
index c5dd068a..b445eff9 100644
--- a/src/chunk-render.cpp
+++ b/src/chunk-render.cpp
@@ -55,7 +55,7 @@ auto chunk::ensure_ground_mesh() noexcept -> ground_mesh_tuple
return _ground->atlases[a] < _ground->atlases[b];
});
- float hack_offset = _coord.z <= 0 ? -16 : 0; // XXX hack
+ float hack_offset = _coord.z <= 0 ? -16.f : 0.f; // XXX hack
auto& vertexes = static_vertexes;
for (auto k = 0uz; k < count; k++)