Skip to content

Commit

Permalink
another missing braces
Browse files Browse the repository at this point in the history
  • Loading branch information
bloerwald committed Dec 12, 2024
1 parent a56ce72 commit 102d1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/noggit/MapChunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ void MapChunk::initStrip()
int start = vertex_offset() + indexNoLoD(y, x);
int current_index = index_count[0];

static std::array<int, 12> triangles = { 9,0,17, 9,17,18, 9,18,1, 9,1,0 };
static std::array<int, 12> triangles = {{ 9,0,17, 9,17,18, 9,18,1, 9,1,0 }};

for (int i = 0; i < 12; ++i)
{
Expand Down

0 comments on commit 102d1b7

Please sign in to comment.