diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-08 22:59:23 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-08-11 11:07:54 +0200 |
| commit | b476ddacc61b185cad98b198997a76f999d9706a (patch) | |
| tree | e5c487e1f3ae736de46d6ab9c84e15f36053f18e /src | |
| parent | b51a0ea63ebb767bbef36281037ee6f6da38f30e (diff) | |
a
Diffstat (limited to 'src')
| -rw-r--r-- | src/chunk-walls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chunk-walls.cpp b/src/chunk-walls.cpp index 7b4008f9..21d2f8dc 100644 --- a/src/chunk-walls.cpp +++ b/src/chunk-walls.cpp @@ -175,7 +175,7 @@ GL::Mesh chunk::make_wall_mesh() { CORRADE_ASSUME(G < Group_::COUNT); - bool side_ok = G == Wall::Group_::side; + bool side_ok = true; if (!(dir.*member).is_defined) continue; @@ -282,7 +282,7 @@ GL::Mesh chunk::make_wall_mesh() } } - if (G != Wall::Group_::side || side_ok) [[likely]] + if (side_ok) [[likely]] { const auto& group = dir.*member; const auto frames = atlas->frames(group); |
